Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
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.
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
to help ease locking contention
on Linux 2.4.
|
|
|
|
last thread exits the main proc, the remaining
program ends up in the background and the
program appears to have exited.
|
|
|
|
|