Commits
- Commit:
70cc6e5ba7798b315c3fb3aae19620a01604a459
- From:
- Anthony Sorace <a@9srv.net>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
libthread: use setpgid instead of setpgrp
- Commit:
52b599a63c488d3a80bb9f5dd97bad0b10103c54
- From:
- Russ Cox <rsc@swtch.com>
- Date:
libthread: call setpgrp in programs that will background
This fixes the 'run stats from rc; exit rc; stats dies' problem.
It's unclear whether this is the right fix or whether rc should
be starting all its interactive commands in their own process
groups. But at least it does fix stats dying.
- Commit:
b3a20a96eb2b91a5b0b8a8fb506e20a2fb50ebe8
- From:
- Russ Cox <rsc@swtch.com>
- Date:
libthread: add threadmaybackground
Programs that want to background themselves now need
to define threadmaybackground returning 1.
This avoids a confusing (to people and debuggers)
extra parent process for all the threaded programs
that will never want to background themselves.
- Commit:
fa325e9b42b0bdfb48857d1958d9fb7ceac55151
- From:
- Dan Cross <cross@gajendra.net>
- Date:
Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.
Signed-off-by: Dan Cross <cross@gajendra.net>
- Commit:
bc7da02954403d4b46285b8f87a62d60c5eb58f8
- From:
- rsc <devnull@localhost>
- Date:
OS X Tiger changes
- Commit:
72f4d44f86e115c3815ee3988578e5caa2c481da
- From:
- rsc <devnull@localhost>
- Date:
do not touch TSTP, TTIN, TTOU
- Commit:
8ee6ad4d96bdb1f56cece8c11e75e5491ccc4020
- From:
- rsc <devnull@localhost>
- Date:
different fix for main proc bug
- Commit:
a0d2173ce4c9b9d530352f3890898ad3af19ae06
- From:
- rsc <devnull@localhost>
- Date:
too big fd
- Commit:
1ac1981659ba7abcc1c76436e4b4dfc2bc616d2a
- From:
- rsc <devnull@localhost>
- Date:
where did this change go?
- Commit:
c8b6342d3c2a167dec16931815926e9e4387e7ef
- From:
- rsc <devnull@localhost>
- Date:
Many small edits.
- Commit:
37cc72d323478b1d98ee741e3d88557d141e7767
- From:
- rsc <devnull@localhost>
- Date:
paranoia
- Commit:
e9dbe11dbf43197892680f3b5084cd12b6dc198b
- From:
- rsc <devnull@localhost>
- Date:
don't rfork(RFNOTEG) because then you lose
the ability to read from the console. damn.
also, handle case where child exits before
fork returns in parent. have to record that
sigchld was seen and then run the handler later.
- Commit:
a0a331aad99bbca5a13fa4b69593061f29dc3a29
- From:
- rsc <devnull@localhost>
- Date:
add _procwakeupandunlock
to help ease locking contention
on Linux 2.4.
- Commit:
230ead2fbe90864d309218048d5ad13070d536fa
- From:
- rsc <devnull@localhost>
- Date:
better handling
- Commit:
1d2533d0101fd1721ab26837485c0b094205c3bd
- From:
- rsc <devnull@localhost>
- Date:
restore old plan 9 property that when the
last thread exits the main proc, the remaining
program ends up in the background and the
program appears to have exited.