1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-13 17:18:32 +03:00
lvm2/libdaemon
Zdenek Kabelac b41b112a4b libdaemon: ensure threads are reaped before checking shutdown
Since we are checking _shutdown_requested - we expect all threads
are finished - that is currently checked only by checking ->next ptr
being NULL - so this can be NULL only when _reap() function clears
out all already finished threads.

I'm finding this design quite problematic in its core - but as a
'trivial hotfix' - lets _reap() linked list before check for signal.

There is likely a large potentical for few races - but the windows is
very very small - since lvmetad has been already purged from upstream,
lets go with this hotfix.
2019-04-29 13:49:33 +02:00
..
client tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
server libdaemon: ensure threads are reaped before checking shutdown 2019-04-29 13:49:33 +02:00
Makefile.in doc: change fsf address 2016-01-21 12:11:37 +01:00