Messages in this thread | | | Subject | Re: SIGCONT misbehaviour in Linux | From | Ulrich Drepper <> | Date | 08 Dec 1999 16:20:40 -0800 |
| |
Andrea Arcangeli <andrea@suse.de> writes:
> Do you agree that ^Z is just correct returning -EINTR immediatly at > SIGCONT time (aka `fg` time)?
This is not what happens on other platforms. At least with my limited testing I found that if you do on Solaris
sleep 10 ^Z fg
the process will continue to sleep.
> Should we make PTRACE_CONTINUE to force nanosleep to continue (unlike the > SIGCONT case?)?
This is the least what has to happen.
> BTW, I am not sure if nanosleep is the only place that you may like > to change in this respect...
No, it's not the only place (e.g., blocking read call). I think this is a general change. Whenever the continue happens throug PTRACE_CONTINUE no EINTR should be generated.
-- ---------------. 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/
| |