EAGAIN (Resource temporarily unavailable)

Tony Reix <[email protected]> Thu, 6 May 2004 10:45:34 +0200
Newsgroups gmane.comp.lib.phil
Message-ID <[email protected]>
Hi,

While using strace -f with a multi-threaded program, I got many times:

[pid 13602] <... futex resumed> )       = -1 EAGAIN (Resource temporarily unavailable)


After a while, while cancelling and then joining threads the program hangs:

[pid 13601] tgkill(13601, 13602, SIGRTMIN <unfinished ...>
[pid 13602] <... futex resumed> )       = -1 EINTR (Interrupted system call)
[pid 13601] <... tgkill resumed> )      = 0
[pid 13602] --- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
>>>>>>>>>>> HANG

What does it mean ?


Environment:

Linux version 2.4.21-4.ELsmp ([email protected])
(gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)) #1 SMP Fri Oct 3 17:52:56 EDT 2003

NPTL 0.60 by Ulrich Drepper


Thanks,

Amicalement/Regards,

Tony Reix 	 (Carpe Diem)