Re no blocking wait on Linux

From: Rod Armstrong (
Date: Fri Jan 11 2002 - 18:53:27 GMT

Tom Hughes suggestion of a usleep(10) in the ptrace_wait_for_target()
loop is probably OK. I don't have a Redhat system, but clearly something
changed in the wait3() call from Redhat 6.2 to Redhat 7+. For SunOS,
which uses ptrace, wait() is used, which is blocking but interruptible.
On Linux, wait3() must be used in order to get interrupts. Maybe
someone with a Redhat system could investigate.

I put an entry for UPS on 
(see )
Fell free to add comments or votes there.


This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:35 GMT