summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_controller.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-09-15 12:27:24 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-09-15 12:27:24 +0300
commit7c1db309940cce607bfef713e7561cf627939f0c (patch)
tree5767a512276e07570fc54371217486a40d5bbde7 /src/nxt_controller.c
parent309ba5abf2aa51a35c744e7cfe7cb537b3074b42 (diff)
downloadunit-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 '')
0 files changed, 0 insertions, 0 deletions