mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-09 12:58:41 +03:00
When multiple threads act on the same 'quit' variable the order of exit becomes unpredictable. So let the main_loop() finish first and then clean up all queued lvm jobs. Do not add any new work, when lvm_thread_exit is set.