This is a discussion on Tracking deleted semaphore within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hi All, I have a multi-threaded program which uses semphore to do locking to synchronize access to shared data. ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi All, I have a multi-threaded program which uses semphore to do locking to synchronize access to shared data. My program ran into deadlock which i doubt is because of incidental deletion or modification of semaphore on which threads are trying to acquire lock. I used gcore to acquire the core. Is there anyway, i can find out the current state of semaphore from the core. or is there anyway, i can find out which thread hold the lock(semaphore). Thanks a lot, Dinesh |