Page Speed Optimization Libraries  1.9.32.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
net_instaweb::SystemThreadSystem Class Reference
Inheritance diagram for net_instaweb::SystemThreadSystem:
net_instaweb::ApacheThreadSystem

Public Member Functions

void PermitThreadStarting ()
 

Protected Member Functions

virtual void BeforeThreadRunHook ()
 

Member Function Documentation

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.


The documentation for this class was generated from the following file: