|
From: | Andrea Palmatè |
Subject: | Re: [Gnash-dev] Re: SIGPIPE handling |
Date: | Mon, 18 Oct 2010 16:25:16 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 |
So the network has something that is working in a wrong way.I don't know if it is related to curl or something else, but there is something that raise the cpu to 100%
which says to ignore that signal rather than deliver it. This is a stateful setting, which remains set until the process ends or you change it. This is a portable construct (though most other uses of signal() are not portable).I think sigaction() is preferable under any circumstances even though this one is portable. The problem is that sighandler_t is a GNU libc extension which isn't defined in BSD libc etc. However we can define it pretty easy as a pointer to a callback.
Andrea
[Prev in Thread] | Current Thread | [Next in Thread] |