Unix Programming - about semaphores functions under unix

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > January 2007 > about semaphores functions under unix





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author about semaphores functions under unix
Bilal D.

2007-01-22, 1: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.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com