This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libc-alpha] mt-application hanging in exit()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]