× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I suspected that, but I don't understand the chain of events. If I call
sigaction for SIGALRM and it returns 0, I would expect that I 'own'
SIGALRM, i.e. that SIGALRM will be passed to my handler, until I restore
the original signal handler (or another program further on the call stack
replaces my signal handler). Do you know why that's not the case?

Joep Beckeringh


From:

Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>

Date:

16-10-2014 16:21

Subject:

Re: Sockets, signal and HTTP server

Yes, the HTTP server also uses signals, so your program is conflicting
with the way signals are handled in the HTTP server.

Consider using non-blocking sockets for timeouts rather than signals.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.