Subject: Re: Possible changes to POSIX abort()
To: David Laight <david@l8s.co.uk>
From: Giles Lean <giles@nemeton.com.au>
List: tech-userlevel
Date: 07/15/2002 18:45:22
> Absolutely - however abort could do it part way through its
> processing (ie once all the other threads are dead/terminall suspended).
> Maybe it could do it if the mutex is available?

How do you tell if the mutex is available?  You can't use the mutex
functions unless they're async signal safe, and they almost certainly
are not.

I've seen both process hangs and core files when pthread_* functions
have been called from signal handlers.  Multithreaded processes and
signal handling make very awkward companions.

Regards,

Giles