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
281 unit_ctx = nxt_unit_init(&python_init); in nxt_python_start()
282 if (nxt_slow_path(unit_ctx == NULL)) { in nxt_python_start()
286 rc = nxt_py_proto.run(unit_ctx); in nxt_python_start()
288 nxt_python_join_threads(unit_ctx, c); in nxt_python_start()
290 nxt_unit_done(unit_ctx); in nxt_python_start()
/unit/src/ruby/
H A Dnxt_ruby.c265 nxt_unit_ctx_t *unit_ctx; in nxt_ruby_start() local
369 unit_ctx = nxt_unit_init(&ruby_unit_init); in nxt_ruby_start()
370 if (nxt_slow_path(unit_ctx == NULL)) { in nxt_ruby_start()
382 rc = (intptr_t) rb_thread_call_without_gvl2(nxt_ruby_unit_run, unit_ctx, in nxt_ruby_start()
383 nxt_ruby_ubf, unit_ctx); in nxt_ruby_start()
393 nxt_ruby_join_threads(unit_ctx, c); in nxt_ruby_start()
403 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.c456 nxt_unit_ctx_t *unit_ctx; in nxt_php_start() local
502 unit_ctx = nxt_unit_init(&php_init); in nxt_php_start()
503 if (nxt_slow_path(unit_ctx == NULL)) { in nxt_php_start()
507 nxt_php_unit_ctx = unit_ctx; in nxt_php_start()