diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-09-15 12:27:24 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-09-15 12:27:24 +0300 |
commit | 7c1db309940cce607bfef713e7561cf627939f0c (patch) | |
tree | 5767a512276e07570fc54371217486a40d5bbde7 /src/nxt_controller.c | |
parent | 309ba5abf2aa51a35c744e7cfe7cb537b3074b42 (diff) | |
download | unit-7c1db309940cce607bfef713e7561cf627939f0c.tar.gz unit-7c1db309940cce607bfef713e7561cf627939f0c.tar.bz2 |
Router: more logical code order change.
Updating the router engines list before posting jobs to worker thread
engines is more logical because worker threads may exit after the posting.
However, the previous code was safe because an engine is freed by
the router main thread after worker its thread has exited.
Diffstat (limited to 'src/nxt_controller.c')
0 files changed, 0 insertions, 0 deletions