about semaphores functions under unix
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > about semaphores functions under unix




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    about semaphores functions under unix  
Bilal D.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-22-07 06:16 PM

Good day,

i want to know if it is possible to prevent UNDOING on s=E9maphore
operation after calling semop with SEM_UNDO option. i know that using
ipc_nowait don't produce undo action but the call will not block "thing
i don't want". I think that there is a missed option in the design of
the function semop, how may it possible to force undoing changes on
semaphore after the process exit? Perhaps we better think that a
process can take with him some tickets when it die.

so what i want to know is how a make a process terminate without
undoing its operations on the semaphore.


thank u.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:40 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register