This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: libc/1320: pthread_cond_timedwait returns EINTR in multithreaded processes when gdb is attached to them
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: Re: libc/1320: pthread_cond_timedwait returns EINTR in multithreaded processes when gdb is attached to them
- From: "George T. Talbot" <george at moberg dot com>
- Date: Fri, 24 Sep 1999 10:12:16 -0400
- Organization: Moberg Research, Inc.
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>