Page Speed Optimization Libraries
1.9.32.1
|
Public Member Functions | |
void | PermitThreadStarting () |
Protected Member Functions | |
virtual void | BeforeThreadRunHook () |
void net_instaweb::SystemThreadSystem::PermitThreadStarting | ( | ) |
It's not safe to start threads in a process that will later fork. In order to enforce this, call PermitThreadStarting() in the child process right after forking, and DCHECK-fail if something tries to start a thread before then.