|
From: <sv...@va...> - 2005-04-09 18:24:25
|
Author: sewardj Date: 2005-04-09 19:24:19 +0100 (Sat, 09 Apr 2005) New Revision: 3529 Modified: trunk/THREADS_SYSCALLS_SIGNALS.txt Log: Record useful info from Jeremy. Modified: trunk/THREADS_SYSCALLS_SIGNALS.txt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/THREADS_SYSCALLS_SIGNALS.txt 2005-04-08 23:28:23 UTC (rev 3528) +++ trunk/THREADS_SYSCALLS_SIGNALS.txt 2005-04-09 18:24:19 UTC (rev 3529) @@ -19,6 +19,13 @@ =20 The master semaphore is run_sema in vg_scheduler.c. =20 + +(what happens at a fork?) + +VG_(scheduler_init) registers sched_fork_cleanup as a child atfork +handler. sched_fork_cleanup, among other things, reinitializes the +semaphore with a new pipe so the process has its own. + -------------------------------------------------------------------- =20 Re: New World signal handling |