NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | CSrvRCUUser |
Class to derive from to use RCU mechanism. More... | |
class | CSrvShutdownCallback |
Interface for an object wishing to be notified when server is going to shutdown. More... | |
class | CTaskServer |
Main class representing TaskServer infrastructure. More... | |
Typedefs | |
typedef Uint2 | TSrvThreadNum |
Type for thread number in TaskServer. More... | |
typedef Uint1 | TSrvTaskFlags |
typedef intr::slist_member_hook< intr::tag< SSrvRCUList_tag > > | TSrvRCUListHook |
typedef intr::member_hook< CSrvRCUUser, TSrvRCUListHook, &CSrvRCUUser::m_RCUListHook > | TSrvRCUListOpt |
typedef intr::slist< CSrvRCUUser, TSrvRCUListOpt, intr::cache_last< true >, intr::constant_time_size< true > > | TSrvRCUList |
typedef intr::slist_member_hook< intr::tag< SSrvShutdownList_tag > > | TSrvSDListHook |
typedef intr::member_hook< CSrvShutdownCallback, TSrvSDListHook, &CSrvShutdownCallback::m_SDListHook > | TSDListHookOpt |
typedef intr::slist< CSrvShutdownCallback, TSDListHookOpt, intr::constant_time_size< false >, intr::cache_last< false > > | TShutdownList |
Enumerations | |
enum | ESrvTaskFlags { fTaskRunnable = 1 << 0 , fTaskQueued = 1 << 1 , fTaskRunning = 1 << 2 , fTaskOnTimer = 1 << 3 , fTaskNeedTermination = 1 << 4 , fTaskTerminated = 1 << 5 } |
Type for flags in CSrvTask. More... | |
enum | ESrvShutdownType { eSrvSlowShutdown , eSrvFastShutdown } |
Types of server shutdown procedures that one can request from CTaskServer. More... | |
typedef intr::member_hook<CSrvShutdownCallback, TSrvSDListHook, &CSrvShutdownCallback::m_SDListHook> TSDListHookOpt |
Definition at line 139 of file task_server.hpp.
typedef intr::slist<CSrvShutdownCallback, TSDListHookOpt, intr::constant_time_size<false>, intr::cache_last<false> > TShutdownList |
Definition at line 143 of file task_server.hpp.
typedef intr::slist<CSrvRCUUser, TSrvRCUListOpt, intr::cache_last<true>, intr::constant_time_size<true> > TSrvRCUList |
Definition at line 106 of file task_server.hpp.
typedef intr::slist_member_hook<intr::tag<SSrvRCUList_tag> > TSrvRCUListHook |
Definition at line 65 of file task_server.hpp.
typedef intr::member_hook<CSrvRCUUser, TSrvRCUListHook, &CSrvRCUUser::m_RCUListHook> TSrvRCUListOpt |
Definition at line 102 of file task_server.hpp.
typedef intr::slist_member_hook<intr::tag<SSrvShutdownList_tag> > TSrvSDListHook |
Definition at line 111 of file task_server.hpp.
typedef Uint1 TSrvTaskFlags |
Definition at line 54 of file task_server.hpp.
typedef Uint2 TSrvThreadNum |
Type for thread number in TaskServer.
Definition at line 42 of file task_server.hpp.
enum ESrvShutdownType |
Types of server shutdown procedures that one can request from CTaskServer.
Enumerator | |
---|---|
eSrvSlowShutdown | |
eSrvFastShutdown |
Definition at line 147 of file task_server.hpp.
enum ESrvTaskFlags |
Type for flags in CSrvTask.
It's needed only for internal use, shouldn't be necessary outside task_server library.
Enumerator | |
---|---|
fTaskRunnable | |
fTaskQueued | |
fTaskRunning | |
fTaskOnTimer | |
fTaskNeedTermination | |
fTaskTerminated |
Definition at line 46 of file task_server.hpp.