Code

frontend: Use channel shutdown to synchronize handler thread shutdown.
authorSebastian Harl <sh@tokkee.org>
Mon, 21 Oct 2013 07:15:24 +0000 (09:15 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 21 Oct 2013 07:15:24 +0000 (09:15 +0200)
commit1e227f75832c867d9174132dc7b9ffe0a4d9f96b
tree95b753340beb0513d3292a3be60a4a4da907058a
parentcd2c02cefddee94e0142a8f1d3d156c05c58472a
frontend: Use channel shutdown to synchronize handler thread shutdown.

This allows the handler to fully control the shutdown procedure.
pthread_cancel did not play well with pthread_cond_*wait in multiple threads
and the respective locked mutex.
src/frontend/sock.c