REPOST: pthread_abort from signal handlers

Reposted without the attachment.

pthread_abort and pthread_cancel do not return when called from a signal
handler or an “at exit” handler when the main thread is waiting on a
semaphore. Both threads appear to be blocked on the semaphore. The
information for the second thread may be invalid.

pthread_abort and pthread_cancel return successfully if called from a third
thread. The aborted thread appears to be blocked on the semaphore. Again,
the thread information may be invalid.

I’m using QNX 6.3.0 SP1. I’ve attached a trivial sample program.

Thanks, Dennis