[ale] Cooperating with logrotate
Cleveland Flowe
flowe.c at gmail.com
Fri Nov 6 17:59:54 EST 2009
In a multithreaded app, the signal is sent to only one of the threads. To
control which thread gets the signal, you should associate a signal mask
with the thread. Set the mask to allow the signals you want. Then, create
a mask that blocks all signals and associate that with the remaining
threads.
On Nov 6, 2009 3:56 PM, "Jim Lynch" <ale_nospam at fayettedigital.com> wrote:
Brandon Checketts wrote: > The process that is writing to the log needs to
close and reopen the file...
A related question, what happens to a threaded program that gets the
HUP? Do all threads have to catch the signal and process them?
Jim.
_______________________________________________ Ale mailing list Ale at ale.org
http://mail.ale.org/mai...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20091106/8a1cfa71/attachment.html
More information about the Ale
mailing list