diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-03-11 06:01:44 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-03-11 06:01:44 +0000 |
commit | deb7720003383b179b87332bec83cfac35158968 (patch) | |
tree | 451c771a435db759f3b7546816429a18e7ce3769 /sys | |
parent | f453b04b6d6e7e24e9f5bbee5c2668436f035db7 (diff) | |
download | FreeBSD-src-deb7720003383b179b87332bec83cfac35158968.zip FreeBSD-src-deb7720003383b179b87332bec83cfac35158968.tar.gz |
This is a force-commit for:
kern_sig.c 1.215
kern_thread.c 1.103
kern_exit.c 1.199
proc.h 1.302
Orignal code would suspend an already suspended thread,
if user presses ^Z while a threaded program is running. Also
there is a race between job control and thread_exit(), the
new code tests job control requesting before thread exits,
in wait() syscall, be sure to check child process is fully
stopped, this avoids a later SIGCHILD and returns STOPPED
status twice for a threaded child proc. A thread_stopped()
function is added for common code in several places.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions