Public Member Functions | |
virtual AbstractSharedMem * | CreateSharedMemRuntime ()=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. |
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.