]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Record useful info from Jeremy.
authorJulian Seward <jseward@acm.org>
Sat, 9 Apr 2005 18:24:19 +0000 (18:24 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 9 Apr 2005 18:24:19 +0000 (18:24 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3529

THREADS_SYSCALLS_SIGNALS.txt

index 3f06d7108a4bfdbb7049a84f4e69d6cfe27bbc2f..5a083c12226dc6eb5ed9b819247fb5846b5fbee4 100644 (file)
@@ -19,6 +19,13 @@ extern void VG_(set_sleeping) ( ThreadId tid, ThreadStatus state );
 
 The master semaphore is run_sema in vg_scheduler.c.
 
+
+(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.
+
 --------------------------------------------------------------------
 
 Re:   New World signal handling