CyberEngineMkIII
|
The basic multithreading interface. More...
#include <Threadable.hpp>
Public Member Functions | |
virtual void | BeginThreadedOperation (void)=0 |
Called at the start of a threading operation in a new thread by the internal thread manager at most once. Should not be called by unit. More... | |
virtual void | CancelThreadedOperation (void)=0 |
Called by the internal thread manager to request cancellation of a thread at most once. When called the Threadable should do it's best to immediately return from BeginThreadedOperation. Should not be called by unit. More... | |
The basic multithreading interface.
Definition at line 6 of file Threadable.hpp.
|
pure virtual |
Called at the start of a threading operation in a new thread by the internal thread manager at most once. Should not be called by unit.
Implemented in CYB::Engine::Logger, and CYB::API::ThreadableTaskset.
|
pure virtual |
Called by the internal thread manager to request cancellation of a thread at most once. When called the Threadable should do it's best to immediately return from BeginThreadedOperation. Should not be called by unit.
Implemented in CYB::Engine::Logger, and CYB::API::ThreadableTaskset.