Home
last modified time | relevance | path

Searched refs:main_ctx (Results 1 – 5 of 5) sorted by relevance

/unit/src/
H A Dnxt_java.c40 static void *nxt_java_thread_func(void *main_ctx);
650 nxt_unit_ctx_t *main_ctx, *ctx; in nxt_java_thread_func() local
653 main_ctx = data; in nxt_java_thread_func()
655 nxt_unit_debug(main_ctx, "worker thread start"); in nxt_java_thread_func()
657 java_data = main_ctx->unit->data; in nxt_java_thread_func()
662 nxt_unit_alert(main_ctx, "failed to attach Java VM: %d", (int) rc); in nxt_java_thread_func()
668 ctx = nxt_unit_ctx_alloc(main_ctx, env); in nxt_java_thread_func()
H A Dnxt_unit.c378 nxt_unit_ctx_impl_t main_ctx; member
489 ctx = &lib->main_ctx.ctx; in nxt_unit_init()
525 if (nxt_slow_path(lib->main_ctx.read_port == NULL)) { in nxt_unit_init()
579 nxt_unit_ctx_release(&lib->main_ctx.ctx); in nxt_unit_init()
632 rc = nxt_unit_ctx_init(lib, &lib->main_ctx, init->ctx_data); in nxt_unit_create()
657 nxt_unit_ctx_free(&lib->main_ctx); in nxt_unit_create()
1264 if (&lib->main_ctx != ctx_impl) { in nxt_unit_ctx_ready()
1266 if (nxt_slow_path(!lib->main_ctx.ready)) { in nxt_unit_ctx_ready()
1269 nxt_unit_quit(ctx, lib->main_ctx.quit_param); in nxt_unit_ctx_ready()
5241 if (ctx_impl != &lib->main_ctx) { in nxt_unit_ctx_free()
[all …]
/unit/src/test/
H A Dnxt_unit_app_test.c35 static void *worker(void *main_ctx);
121 worker(void *main_ctx) in worker() argument
126 ctx = nxt_unit_ctx_alloc(main_ctx, NULL); in worker()
/unit/src/python/
H A Dnxt_python.c36 static void *nxt_python_thread_func(void *main_ctx);
/unit/src/perl/
H A Dnxt_perl_psgi.c95 static void *nxt_perl_psgi_thread_func(void *main_ctx);