CUBRID Engine  latest
cubthread::context_manager< Context > Class Template Referenceabstract

#include <thread_task.hpp>

Inheritance diagram for cubthread::context_manager< Context >:
Inheritance graph
Collaboration diagram for cubthread::context_manager< Context >:
Collaboration graph

Public Types

using context_type = Context
 

Public Member Functions

virtual ~context_manager ()=default
 
virtual context_typecreate_context (void)=0
 
virtual void retire_context (context_type &)=0
 
virtual void recycle_context (context_type &)
 
virtual void stop_execution (context_type &)
 

Detailed Description

template<typename Context>
class cubthread::context_manager< Context >

Definition at line 203 of file thread_task.hpp.

Member Typedef Documentation

template<typename Context>
using cubthread::context_manager< Context >::context_type = Context

Definition at line 206 of file thread_task.hpp.

Constructor & Destructor Documentation

template<typename Context>
virtual cubthread::context_manager< Context >::~context_manager ( )
virtualdefault

Member Function Documentation

template<typename Context>
virtual context_type& cubthread::context_manager< Context >::create_context ( void  )
pure virtual

Implemented in cubthread::entry_manager.

Referenced by cubthread::daemon::loop_with_context().

Here is the caller graph for this function:

template<typename Context>
virtual void cubthread::context_manager< Context >::recycle_context ( context_type )
inlinevirtual

Reimplemented in cubthread::entry_manager.

Definition at line 213 of file thread_task.hpp.

template<typename Context>
virtual void cubthread::context_manager< Context >::retire_context ( context_type )
pure virtual

Implemented in cubthread::entry_manager.

Referenced by cubthread::daemon::loop_with_context().

Here is the caller graph for this function:

template<typename Context>
virtual void cubthread::context_manager< Context >::stop_execution ( context_type )
inlinevirtual

Reimplemented in cubthread::entry_manager.

Definition at line 217 of file thread_task.hpp.


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