Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::SharedMemTestEnv Class Referenceabstract

Public Member Functions

virtual AbstractSharedMemCreateSharedMemRuntime ()=0
 
virtual bool CreateChild (Function *callback)=0
 
virtual void WaitForChildren ()=0
 
virtual void ShortSleep ()=0
 Runtime-specific short sleep.
 
virtual void ChildFailed ()=0
 Called in a child to denote it exiting with failure.
 

Member Function Documentation

virtual bool net_instaweb::SharedMemTestEnv::CreateChild ( Function callback)
pure virtual

This method must be overridden to start a new process and invoke the callback object in it. The runtime is responsible for deleting the callback object properly.

Returns whether started OK or not.

virtual void net_instaweb::SharedMemTestEnv::WaitForChildren ( )
pure virtual

This method must be overridden to block until all processes/threads started by CreateChild exit.


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