Click to See Complete Forum and Search --> : to unlock the semaphores without restarting the system


owens
07-01-2005, 08:01 AM
Can anyone answer this:

This is regarding a webserver in which semaphores were used for locking.
For some reason the server went down but the semaphores didn't get unlocked.
Is there any procedure to unlock the semaphores without restarting the system?

"The system semaphores have not got released, when the web servers are stopped and all the resources are used up...caused the web server not to start".

So plz let me know the solution , if u have any?

bradgrafelman
07-01-2005, 10:45 AM
I have no clue what this is, but I'll post some links that seemed relevant:

* XP::util.semaphore.SessionSemaphore (http://www.xp-framework.de/apidoc/classes/util.semaphore.SessionSemaphore.html)

* Working With Threads - Semaphores--Traffic Control for Threads (http://old.scriptmeridian.org/tutorials/threads/page02semaphores.html)