Re: PATCH: SysV semaphore race vs SIGSTOP

2005-02-05 Thread Ove Kaaven
lør, 05,.02.2005 kl. 09.37 +0100, skrev Manfred Spraul: > Hi Ove, > > >As I mentioned in an earlier mail, there is a race when SIGSTOP-ing a > >process waiting for a SysV semaphore, where if a process holding a > >semaphore suspends another process waiting on the semaphore and then > >releases the

PATCH: SysV semaphore race vs SIGSTOP

2005-01-31 Thread Ove Kaaven
As I mentioned in an earlier mail, there is a race when SIGSTOP-ing a process waiting for a SysV semaphore, where if a process holding a semaphore suspends another process waiting on the semaphore and then releases the semaphore, the suspended process might still get the semaphore, resulting in a d

PROBLEM: SysV semaphore race vs SIGSTOP

2005-01-28 Thread Ove Kaaven
There seem to be a race when SIGSTOP-ing a process waiting for a SysV semaphore. Even if it could not possibly have owned the semaphore when the signal was sent (because the sender of the signal owned it at the time), it still occasionally happens that it both stops execution *and* acquires the sem