Re: SIGCONT misbehaviour in Linux

Ulrich Drepper (drepper@cygnus.com)
08 Dec 1999 16:47:31 -0800


Andrea Arcangeli <andrea@suse.de> writes:

> That's not enough to tell what the kernel is doing, maybe they have a bit
> smarter sleep(1) program. `sleep` can be changed to run nanosleep again if
> it received -EINTR and `req` is not null. You only have to pass as `req`
> the `rem` that you got back from the previous nanosleep call.

I ran it under truss, you can do the same. The syscall does not return.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/