different fix for main proc bug

This commit is contained in:
rsc 2005-02-14 18:58:56 +00:00
parent 8da6bca807
commit 8ee6ad4d96
3 changed files with 22 additions and 12 deletions

View file

@ -121,7 +121,6 @@ _threadsetupdaemonize(void)
close(p[1]);
break;
case 0:
for(i=0; i<100; i++) sched_yield();
notedisable("sys: child");
signal(SIGCHLD, SIG_DFL);
/* rfork(RFNOTEG); */