[pgpool-hackers: 54] Re: [pgpool-II 0000009]: dont call syslog(3) family in signal handler.
Huang Bambo
bambo.huang at gmail.com
Sat Mar 31 12:16:41 JST 2012
Hi Tatsuo,
>
> So we still have to find a solution to print the "authentication timeout
> message" outside the signal handler mostly from the parent process. Do
> you have an idea on how to proceed ?
>
Actually, there's no easy way to handle this.
In the ACE library, they give a solution like this:
One thread running to process event such as waiting for a condition.
The event handler function only notify the condition.
While the thread found the condition is trigged, do things like write
log and terminate the process.
Bambo
More information about the pgpool-hackers
mailing list