aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/daemonize.c
AgeCommit message (Collapse)AuthorFilesLines
2020-12-30libthread: add threadmaybackgroundRuss Cox1-6/+6
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.
2020-01-10Trivial changes: whitespace and modes.Dan Cross1-3/+3
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>
2005-05-07OS X Tiger changesrsc1-1/+6
2005-03-18do not touch TSTP, TTIN, TTOUrsc1-1/+1
2005-02-14different fix for main proc bugrsc1-1/+0
2005-01-16too big fdrsc1-3/+4
2005-01-14where did this change go?rsc1-1/+11
2005-01-13Many small edits.rsc1-2/+2
2005-01-11paranoiarsc1-1/+9
2005-01-11don't rfork(RFNOTEG) because then you losersc1-3/+23
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.
2005-01-06add _procwakeupandunlockrsc1-0/+12
to help ease locking contention on Linux 2.4.
2005-01-04better handlingrsc1-8/+22
2004-12-28restore old plan 9 property that when thersc1-7/+14
last thread exits the main proc, the remaining program ends up in the background and the program appears to have exited.
2004-12-28more freebsd workrsc1-8/+5
2004-12-28add threaddaemonizersc1-0/+98