summaryrefslogtreecommitdiff
path: root/rc/bin/patch/diff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-08-24 13:11:04 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-08-24 13:11:04 +0200
commit86f323290c9f99b72e359ff2c37eed528f5b3976 (patch)
treefdac2c5cfdcc0136a827fb1e86bb950cfcba4237 /rc/bin/patch/diff
parentd404e9e9f8250f740bacb0b30d586ea1ad808015 (diff)
downloadplan9front-86f323290c9f99b72e359ff2c37eed528f5b3976.tar.xz
wait: always check up->nchild before going to sleep
always make sure that there are child processes we can wait for before sleeping. put pwait() sleep into a loop and recheck. this is not strictly neccesary but prevents accidents if there are spurious wakeups or a bug.
Diffstat (limited to 'rc/bin/patch/diff')
0 files changed, 0 insertions, 0 deletions