aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.dockerignore
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-08-28 20:34:43 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-08-28 20:34:43 +0200
commit659c49ab31ac9f29adaf29b2eac4e8841ce5404e (patch)
treeed6701a478b362bb002329ee4242bf00c9a8a79c /.dockerignore
parentdocker: add initial configuration (diff)
downloadcimple-659c49ab31ac9f29adaf29b2eac4e8841ce5404e.tar.gz
cimple-659c49ab31ac9f29adaf29b2eac4e8841ce5404e.zip
server: notify all threads about shutting down
The problem is pthread_cond_destroy is unsafe to call if there're threads waiting in pthread_cond_wait. I'm not sure this fix is enough: what if the "broadcast" doesn't reach the threads until we call pthread_cond_destroy? Does it even work that way? Idk
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions