Search This Blog

Monday, February 16, 2015

Recovery from Semaphore leak

There is no way to recover the semaphore. Therefore, if a process is going to be killed or crashed, using semaphore will note be a good idea. In other words, the process needs to manage semaphore create/release very carefully.

http://stackoverflow.com/questions/2053679/how-do-i-recover-a-semaphore-when-the-process-that-decremented-it-to-zero-crashe

No comments:

Post a Comment

Blog Archive