Unix Technical Forum

Tracking deleted semaphore

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. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-06-2008, 08:45 AM
Dinesh Garg
 
Posts: n/a
Default Tracking deleted semaphore

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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:02 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com