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