Subject: Re: Possible changes to POSIX abort()
To: David Laight <email@example.com>
From: Giles Lean <firstname.lastname@example.org>
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
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.