How do I know about semaphores held?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Message
Hi all,
Consider a case where my pthread consumes more than one (different) semaphores(sem_wait).
I am writing a cleanup handler for pthread_cancel.
But inside this, I am at loss as to know the list of semaphores so as to sem_post each of them.
Is there any mechanism by which I can know all the semaphore ids that my thread has consumed(sem_waited)?
 
thanks
Shireesh

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux