libc/1320: pthread_cond_timedwait returns EINTR in multithreaded processes when gdb is attached to them

George T. Talbot george@moberg.com
Fri Sep 24 06:59:00 GMT 1999


You might also want to look at sem_wait().  It will return, when GDB is
attached, but it won't return EINTR, so there's no way to loop on EINTR
and ignore the event.  Makes it really hard to attach the debugger to a
program that uses semaphores.

--
George T. Talbot
<george@moberg.com>


More information about the Gdb mailing list