author | Sebastian Harl <sh@tokkee.org> | |
Mon, 21 Oct 2013 07:15:24 +0000 (09:15 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 21 Oct 2013 07:15:24 +0000 (09:15 +0200) | ||
commit | 1e227f75832c867d9174132dc7b9ffe0a4d9f96b | |
tree | 95b753340beb0513d3292a3be60a4a4da907058a | tree | snapshot |
parent | cd2c02cefddee94e0142a8f1d3d156c05c58472a | commit | diff |
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.
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 | diff | blob | history |