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: Andreas Jaeger <aj at suse dot de>, libc-alpha at sources dot redhat dot com
- Date: Tue, 22 Jan 2002 14:58:58 -0600
- Subject: Re: [libc-alpha] mt-application hanging in exit()
- Organization: Sun Microsystems, Inc.
- References: <Pine.LNX.4.33.0201221141050.16102-100000@ashi.FootPrints.net>
- Reply-to: Bertold dot Kolics at Sun dot COM
> On Tue, 22 Jan 2002, Bertold Kolics wrote:
> > Just one more comment on this (and that is why I think it should be clearly
> > indicated in the documentation of glibc that use of pthread_sigmask is
> > mandatory on Linux): UNIX International compliant systems make sigprocmask()
> > equivalent to pthread_sigmask().
> One implementor representing IBM's operating system already came
> forward to tell you that your code essentially works by fluke on
> that system.
I think you miss the point here. All I was trying to say that it is better
document this than having more people confused by using sigprocmask() instead
of pthread_sigmask(). All I ask is documentation, because there are systems out
there which comply with UNIX International and developers used to those systems
may face the same problem I had.
If you show me the piece of documentation where you say that pthread_sigmask()
has to be used instead of sigprocmask() in mt-applications, then I will say I
am sorry for bothering you and 'mea culpa'. And, please, don't come with
reading POSIX, because you know much better how closely LinuxThreads follow