Home
last modified time | relevance | path

Searched refs:unit_ctx (Results 1 – 4 of 4) sorted by relevance

/unit/src/python/
H A Dnxt_python.c76 nxt_unit_ctx_t *unit_ctx; in nxt_python_start() local
282 unit_ctx = nxt_unit_init(&python_init); in nxt_python_start()
283 if (nxt_slow_path(unit_ctx == NULL)) { in nxt_python_start()
287 rc = nxt_py_proto.run(unit_ctx); in nxt_python_start()
289 nxt_python_join_threads(unit_ctx, c); in nxt_python_start()
291 nxt_unit_done(unit_ctx); in nxt_python_start()
/unit/src/ruby/
H A Dnxt_ruby.c266 nxt_unit_ctx_t *unit_ctx; in nxt_ruby_start() local
371 unit_ctx = nxt_unit_init(&ruby_unit_init); in nxt_ruby_start()
372 if (nxt_slow_path(unit_ctx == NULL)) { in nxt_ruby_start()
384 rc = (intptr_t) rb_thread_call_without_gvl(nxt_ruby_unit_run, unit_ctx, in nxt_ruby_start()
385 nxt_ruby_ubf, unit_ctx); in nxt_ruby_start()
395 nxt_ruby_join_threads(unit_ctx, c); in nxt_ruby_start()
405 nxt_unit_done(unit_ctx); in nxt_ruby_start()
/unit/src/perl/
H A Dnxt_perl_psgi.c1133 nxt_unit_ctx_t *unit_ctx; in nxt_perl_psgi_start() local
1170 unit_ctx = nxt_unit_init(&perl_init); in nxt_perl_psgi_start()
1171 if (nxt_slow_path(unit_ctx == NULL)) { in nxt_perl_psgi_start()
1175 rc = nxt_unit_run(unit_ctx); in nxt_perl_psgi_start()
1177 nxt_perl_psgi_join_threads(unit_ctx, c); in nxt_perl_psgi_start()
1179 nxt_unit_done(unit_ctx); in nxt_perl_psgi_start()
/unit/src/
H A Dnxt_php_sapi.c453 nxt_unit_ctx_t *unit_ctx; in nxt_php_start() local
499 unit_ctx = nxt_unit_init(&php_init); in nxt_php_start()
500 if (nxt_slow_path(unit_ctx == NULL)) { in nxt_php_start()
504 nxt_php_unit_ctx = unit_ctx; in nxt_php_start()