Home
last modified time | relevance | path

Searched refs:app_ctx (Results 1 – 6 of 6) sorted by relevance

/mOS-networking-stack/samples/epserver/
H A Depserver-mp.c432 InitServer(mctx_t mctx, void **app_ctx) in InitServer() argument
465 *app_ctx = (void *)ctx; in InitServer()
471 RunServer(mctx_t mctx, void **app_ctx) in RunServer() argument
473 struct thread_context *ctx = (*app_ctx); in RunServer()
572 void *app_ctx; in RunApplication() local
574 app_ctx = (void *)calloc(1, sizeof(void *)); in RunApplication()
575 if (!app_ctx) { in RunApplication()
581 InitServer(mctx, &(app_ctx)); in RunApplication()
582 RunServer(mctx, &(app_ctx)); in RunApplication()
H A Depserver.c433 InitServer(mctx_t mctx, void **app_ctx) in InitServer() argument
466 *app_ctx = (void *)ctx; in InitServer()
472 RunServer(mctx_t mctx, void **app_ctx) in RunServer() argument
474 struct thread_context *ctx = (*app_ctx); in RunServer()
573 void *app_ctx; in RunApplication() local
575 app_ctx = (void *)calloc(1, sizeof(void *)); in RunApplication()
576 if (!app_ctx) { in RunApplication()
582 InitServer(mctx, &(app_ctx)); in RunApplication()
583 RunServer(mctx, &(app_ctx)); in RunApplication()
/mOS-networking-stack/samples/epwget/
H A Depwget.c608 InitWget(mctx_t mctx, void **app_ctx) in InitWget() argument
656 *app_ctx = ctx; in InitWget()
662 RunWget(mctx_t mctx, void **app_ctx) in RunWget() argument
670 assert(*app_ctx); in RunWget()
672 thread_context_t ctx = *app_ctx; in RunWget()
771 void *app_ctx; in RunApplication() local
773 app_ctx = (void *)calloc(1, sizeof(void *)); in RunApplication()
774 if (!app_ctx) { in RunApplication()
780 InitWget(mctx, &(app_ctx)); in RunApplication()
781 RunWget(mctx, &(app_ctx)); in RunApplication()
H A Depwget-mp.c606 InitWget(mctx_t mctx, void **app_ctx) in InitWget() argument
654 *app_ctx = ctx; in InitWget()
660 RunWget(mctx_t mctx, void **app_ctx) in RunWget() argument
668 assert(*app_ctx); in RunWget()
670 thread_context_t ctx = *app_ctx; in RunWget()
769 void *app_ctx; in RunApplication() local
771 app_ctx = (void *)calloc(1, sizeof(void *)); in RunApplication()
772 if (!app_ctx) { in RunApplication()
778 InitWget(mctx, &(app_ctx)); in RunApplication()
779 RunWget(mctx, &(app_ctx)); in RunApplication()
/mOS-networking-stack/core/src/include/
H A Dmtcp_api.h116 void (*thread_init)(mctx_t mctx, void **app_ctx);
119 void (*run)(mctx_t mctx, void **app_ctx);
/mOS-networking-stack/core/include/
H A Dmtcp_api.h116 void (*thread_init)(mctx_t mctx, void **app_ctx);
119 void (*run)(mctx_t mctx, void **app_ctx);