Igor Pechtchanski, le Fri 02 Dec 2005 18:56:56 -0500, a écrit : > > Cygwin defines SA_SIGINFO, but it doesn't seem to be implemented: the > > following program gets in "info" just 0x0 or a strange pointer. Could > > it be supported somehow? The bit of information I'd really need is > > info->si_code, so as to know whether the signal is sent by "kernelspace" > > (because of alarm, setitimer, ...) or by "userspace" (kill, raise). > > AFAICS, this should work in the snapshots, according to > <http://cygwin.com/ml/cygwin-cvs/2005-q3/msg00205.html>.
Ah indeed, it almost works. But pthread_kill still gives 0 as info to the handler (and unfortunately, that's precisely the case I need) Regards, Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/