[libc-alpha] mt-application hanging in exit()
Bertold Kolics
Bertold.Kolics@Sun.COM
Sat Jan 19 17:31:00 GMT 2002
Hi,
>On Sat, 19 Jan 2002, Bertold Kolics wrote:
>
>> I may have found the problem, but I still believe that there is a problem in
>glibc.
>
>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
>over that.
>
Thanks, that was all I wanted to know.
Bertold
More information about the Libc-alpha
mailing list