#include <wefts_cleanup.h>
Inheritance diagram for Wefts::CleanupHandler:
This is a pure abstract interface that is used to create classes that will handle cleanup requests at some point.
Public Member Functions | |
virtual void | handleCleanup (int code, void *caller=0)=0 |
Callback method called on cleanup. |
|
Callback method called on cleanup. When a thread is terminated (stopped or finished), and a cleanup request have been set, this method is called. Use the code parameter to decide what action among the possible ones must be taken.
Implemented in Wefts::CondCleanup, Wefts::OSProcessBase, Wefts::CriticalSection, Wefts::MoaningThread, Wefts::OSProcessPthread, Wefts::OSProcessWin, Wefts::RingBuffer< _T >, Wefts::RRWMutex, Wefts::RWMutex, Wefts::Semaphore, Wefts::Subscription, and Wefts::XMutex. |