Proud::IThreadPoolEvent Class Referenceabstract

Public Member Functions

virtual void OnThreadBegin ()=0
 
virtual void OnThreadEnd ()=0
 

Detailed Description

This is interface class that hand event callback occured from CThreadPool.

Please refer to Share Thread Pool that has same host module in a server. for more detail.

Usage

  • Realize this method to inherit object.
  • Pass this object to parameter at CThreadPool

Member Function Documentation

virtual void Proud::IThreadPoolEvent::OnThreadBegin ( )
pure virtual

When thread pool started thread, call this method.

virtual void Proud::IThreadPoolEvent::OnThreadEnd ( )
pure virtual

When thread pool is terminated, call this method.