Hi,

On Sat, Oct 13, 2012 at 10:51:34AM +0200, Fabien Wernli wrote:
> On Sat, Oct 13, 2012 at 09:27:25AM +0200, Sebastian Harl wrote:
> > most/many/all parts of collectd actually support "reconfigure" as people
> > might expect too much from SIGHUP else.
> 
> agreed
> 
> Just to be sure: the main collectd thread has no control over its child
> threads in the current implementation?

As mentioned on IRC: the main collectd process controls the child
threads by means of a pthread conditional variable and a boolean
variable indicating whether the main process is still in its main loop.
The former may be used to signal the child threads to re-check the "read
loop" condition.

HTH,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to