src/plugin.c: Check "read_loop" when returning from "pthread_cond_timedwait".
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 6 Jul 2010 11:00:32 +0000 (13:00 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 6 Jul 2010 11:00:32 +0000 (13:00 +0200)
commitdd28a7dbb9404672d850063f3e58ee8dc6debb20
treee53caab152a8912524762bd3f207ff08497c97be
parent09e1bfaed8475b7f81befe8581fb09711795b13b
src/plugin.c: Check "read_loop" when returning from "pthread_cond_timedwait".

Otherwise it may take up to $Interval seconds until all read threads
shut down. This bug was introduced in version 4.8.4 (commit dbe1a7d).
src/plugin.c