Re: PROBLEM - Signals not handled while waiting on semphores

2004-02-23 Thread Gabi Davar
After looking up the The Single UNIX Specification Version 3 I disagree. See entry for sigaction() SA_RESTART . Only select/pselect() specify behavior with SA_RESTART

Re: PROBLEM - Signals not handled while waiting on semphores

2004-02-23 Thread Christopher Faylor
On Mon, Feb 23, 2004 at 04:48:22PM +0200, Gabi Davar wrote: >Thanks for the quick reply, classic SysV semaphores do behave correctly >with new dll. > >unfortunately there are still problems - >* flag SA_RESTART passed to sigaction seem to be ignored ( see previous >post for sample code ) I belie

Re: PROBLEM - Signals not handled while waiting on semphores

2004-02-23 Thread Gabi Davar
Thanks for the quick reply, classic SysV semaphores do behave correctly with new dll. unfortunately there are still problems - * flag SA_RESTART passed to sigaction seem to be ignored ( see previous post for sample code ) * signals are not delivered when using POSIX named semaphores (semaphore.

Re: PROBLEM - Signals not handled while waiting on semphores

2004-02-23 Thread Corinna Vinschen
On Feb 23 14:17, Gabi Davar wrote: > Hi, > > I'm unable to receive signals while waiting on semaphores. The following > short program illustrates the problem. Sending SIGUSR1 when in semop > does not result in "sig handler!!!" print. That should be solved in CVS. Try a recent cygwin snapshot f