Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2003 21:45:24 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        David Xu <davidxu@viatech.com.cn>
Cc:        Alfred Perlstein <bright@mu.org>, src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern kern_thread.c subr_trap.c
Message-ID:  <20030311054524.GA78209@rot13.obsecurity.org>
In-Reply-To: <005101c2e78f$b85d0a40$f001a8c0@davidw2k>
References:  <200303110259.h2B2xor5078625@repoman.freebsd.org> <20030311051206.GZ4145@elvis.mu.org> <005101c2e78f$b85d0a40$f001a8c0@davidw2k>

next in thread | previous in thread | raw e-mail | index | archive | help

--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 11, 2003 at 01:33:15PM +0800, David Xu wrote:

> > >   Fix signal delivering bug for threaded process.
> >=20
> > Details, while not manditory are encouraged.  See a typical
> > commit by Dr. Mckusick.
> >=20
> 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=20
> new code tests job control requesting before thread exits,
> in wait() syscall, be sure to check process is fully stopped
> before parent proc thinks child was stopped,  this avoids
> a later SIGCHILD and returns STOPPED status twice
> for a threaded child proc.

Could you force-commit this expanded explanation as a followup?

Kris

--2fHTh5uZTiUOsy+g
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+bXf0Wry0BWjoQKURAqMAAJ47kC1rDmVFVXVqyETuiUj/hSfF2gCg870e
A3A4zVEyu4oYiMAtrdBMXBw=
=orAR
-----END PGP SIGNATURE-----

--2fHTh5uZTiUOsy+g--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030311054524.GA78209>