Re no blocking wait on Linux

From: Rod Armstrong (rod_at_san-jose.tt.slb.com)
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 www.LinuxApps.com. 
(see http://www.unixapps.com/?page=application&database=current&id=4010 )
Fell free to add comments or votes there.

Rod


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