>> The persistence of the semaphore also works for you? >> >> For me, using the unpatched version, (not the CVS version), the >> persistence works some times only. At other times the semaphore >> disappears with the Control c. > > The semaphore is backed by a file on disk. If you don't call > sem_unlink one way or the other, the semaphore persists.
Nice to say, but why it is not always this way? I should create an example to run my code some times and always kill it until that the semaphore does not persist. It is a nice task for tonight. -- 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/