bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sigwait + pthread doesn't work


From: Manfred Spraul
Subject: sigwait + pthread doesn't work
Date: Sun, 15 Apr 2001 22:08:45 +0200

sigwait() doesn't work correctly if multiple signals are pending and the
app is linked against libpthread.

I've attached a short test app: if I link with '-lpthread', 2 signals
are lost, without '-lpthread', all 3 signals are delivered.

glibc-2.2.2 from redhat-7.1 Beta (Wolverine)
linux os, i386
kernel version 2.4.1-0.1.9

The attachment contains the test app, Makefile and 2 strace dumps
(without -lpthread, with -lpthread)

Please cc me if you have further questions, I'm not subscribed to this
mailinglist.

--
    Manfred

Attachment: sigwait-pthread.tar.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]