I need to find the number of signals pending in the signal queue of a thread in linux. Is there any API that is provided by Linux ?
This API needs to be called from thread, other than the thread we are querying.
sigpending gives the API for the calling thread. Is there any API, which takes thread id as arg, and provides some information about the signals pending in the queue.
Any help is appreciated.