diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-07-18 00:21:17 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-07-18 00:21:17 +0300 |
commit | 8ad2c3fd3ad30982c4f777622c3392f047cc8191 (patch) | |
tree | 48cf79fd186b0c116223c78e9c8905c9f9085930 /src/nxt_process.c | |
parent | 803855138c3b714c088e42a32e80939a81785944 (diff) | |
download | unit-8ad2c3fd3ad30982c4f777622c3392f047cc8191.tar.gz unit-8ad2c3fd3ad30982c4f777622c3392f047cc8191.tar.bz2 |
Work queue thread assertions. Reset thread after fork.
Diffstat (limited to 'src/nxt_process.c')
-rw-r--r-- | src/nxt_process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_process.c b/src/nxt_process.c index 9561fb84..9ab3eaf3 100644 --- a/src/nxt_process.c +++ b/src/nxt_process.c @@ -50,6 +50,8 @@ nxt_process_create(nxt_task_t *task, nxt_process_t *process) nxt_port_reset_next_id(); + nxt_event_engine_thread_adopt(task->thread->engine); + /* Remove not ready processes */ nxt_runtime_process_each(rt, p) { |