[libc-alpha] mt-application hanging in exit()
Bertold Kolics
Bertold.Kolics@Sun.COM
Sat Jan 19 17:32:00 GMT 2002
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
More information about the Libc-alpha
mailing list