EAGAIN (Resource temporarily unavailable)
Tony Reix
Tony.Reix at bull.net
Thu May 6 08:45:34 UTC 2004
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 (bhcompile at daffy.perf.redhat.com)
(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)
More information about the Phil-list
mailing list