summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorkre <kre@NetBSD.org>2019-03-26 13:32:26 +0000
committerkre <kre@NetBSD.org>2019-03-26 13:32:26 +0000
commit6c82034edf64d68fb0fb46922574f267464ff23d (patch)
tree12c1451f5e92873e84570e10748bdb612f198c62 /sys/dev
parent7fdb97eef936544387f8273fa48797e4378ac72d (diff)
Fix a logic botch that prevented "wait -n" (with no pid args) from
finding a job that had previously terminated. Now in that case JOBWANTED is set on all jobs (since any will do) which then simplifies a later test which no longer needs to special case "wait -n". Further, we always look to see if any wanted job has already terminated, even if there are still running jobs we can wait upon - if anything is already ready, that's where we start harvesting (and finish, if -n is specified).
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions
ment descriptions aboutrmind 2009-04-11Avoid duplicate .Pp.wiz 2009-04-11.\" are comments, not ./"joerg 2008-10-19s/explicitely/explicitly/snj 2008-05-04Move TNF licenses to 2 clause formmartin 2007-12-01Use more markup. New sentence, new line.wiz 2007-03-21PR lib/34931: PTHREAD_ATTR(3) doesn't document PTHREAD_CREATE_JOINABLE andad 2005-03-21Add restrict qualifiers to <pthread.h> function arguments.kleink 2003-06-26Remove trailing whitespace.wiz 2003-06-08$NetBSD$, not $Header$.thorpej 2003-06-03Man pages for libpthread, adapted from FreeBSD by Stephen Degler.nathanw