Name Description Size
moz.build 684
TestCrossProcessWin.cpp 23812
TestSafeThreadLocal.cpp 2672
TestSameBinary.cpp This test involves three processes: 1. The "Monitor" process, which is executed by |MonitorMain|. This process is responsible for integrating with the test harness, so it spawns the "Parent" process (2), and then waits for the other two processes to finish. 2. The "Parent" process, which is executed by |ParentMain|. This process creates the "Child" process (3) and then waits indefinitely. 3. The "Child" process, which is executed by |ChildMain| and carries out the actual test. It terminates the Parent process during its execution, using the Child PID as the Parent process's exit code. This serves as a hacky yet effective way to signal to the Monitor process which PID it should wait on to ensure that the Child process has exited. 8536