This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Is SEM_UNDO problem fixed (in v 1.5.11)?


Hi,

I am calling semop to increment or decrement
an IPC semaphore with SEM_UNDO. Then I abort
the process using Ctrl+C and check the semaphore
status. I expect the effect of the semop
to be undone at that point, but it is not.

It is either a bug or I am doing something wrong.

I see that the problem with SEM_UNDO was already
reported and on 2 Mar 2004 Corinna Vinschen wrote:

"Yes, it's a bug in Cygserver.  "
...
"I've checked in a fix to Cygserver."

I am using cygserver: (cygwin) 1.10
API version 1.5.11(0.116/4/1)-(3.0.0.2) 2004-09-04
23:17

So, my question is whether the SEM_UNDO was indeed  
fixed and, whether it was recently tested and, if yes,
how to use it properly to have the result of semop
undone on process exit/abort.

Thank you
John



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]