This is the mail archive of the
mailing list for the glibc project.
Re: [libc-alpha] mt-application hanging in exit()
- From: Bertold Kolics <Bertold dot Kolics at Sun dot COM>
- To: "Kaz Kylheku" <kaz at ashi dot footprints dot net>
- Cc: <libc-alpha at sources dot redhat dot com>, "Andreas Jaeger" <aj at suse dot de>
- Date: Sat, 19 Jan 2002 19:28:33 -0600
- Subject: Re: [libc-alpha] mt-application hanging in exit()
- Reply-to: <Bertold dot Kolics at Sun dot COM>
>On Sat, 19 Jan 2002, Bertold Kolics wrote:
>> I may have found the problem, but I still believe that there is a problem in
>Nope, false alarm! Phew!
Thanks for the info. On the other hand, you should be aware that the same code works
perfectly on HP-UX, Solaris, Tru64 Unix, AIX (w/o glibc). Perhaps, all these
vendors are wrong :-).
>You should be aware that sigprocmask is restricted to use in a
>single-threaded process. From Draft 7 POSIX, (June 14, 2001):
I know that. I am still not convinced, since sigprocmask() is used before any
thread is created.
>In GNU/Linux, the pthread_sigprocmask function takes care that the
>application does not inadvertantly mess with some signals internal to
>the threading library. But if you use sigprocmask, you can stomp all
Thanks, that was all I wanted to know.