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 Jakub,

>On Sat, Jan 19, 2002 at 08:56:00PM +0100, Andreas Schwab wrote:

>> You must not call sigprocmask in a multi-threaded process.  Use
>> pthread_sigmask instead.
>
>Also, doshutdown should be volatile if you check for it using
>while (!doshutdown);
>(well, much better would be to use some CPU friendly way, like conditional
>variable or something).

Thanks, I know that. It was just a test :-).

Thanks for all replies.

Bertold



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