Bruce Momjian wrote:
>>
>>+ /*
>>+ * We could lose a signal during this test.
>>+ * In a multi-threaded application, this might
>>+ * be a problem. Do any non-threaded platforms
>>
Threaded or non-threaded?
>>+ * lack sigaction()?
>>+ */
>>
Additionally, the problem is not restricted to multithreaded apps:
signal(,SIG_IGN) clears all pending signals.
--
Manfred