NCBI C++ ToolKit
Public Member Functions | Public Attributes | Private Member Functions | List of all members
SSrvThread Struct Reference

Search Toolkit Book for SSrvThread

#include "threads_man.hpp"
(Private to src/app/netcache.)

+ Inheritance diagram for SSrvThread:
+ Collaboration diagram for SSrvThread:

Public Member Functions

 SSrvThread (void)
virtual ~SSrvThread (void)
- Public Member Functions inherited from CSrvRCUUser
void CallRCU (void)
 Method to be called to schedule call of ExecuteRCU() at appropriate time. More...
 CSrvRCUUser (void)
virtual ~CSrvRCUUser (void)

Public Attributes

TSrvThreadNum thread_num
Uint8 seen_jiffy
int seen_secs
EThreadState thread_state
EServerState seen_srv_state
- Public Attributes inherited from CSrvRCUUser
TSrvRCUListHook m_RCUListHook

Private Member Functions

virtual void ExecuteRCU (void)
 Method implementing RCU job that was scheduled earlier by CallRCU(). More...

Detailed Description

Definition at line 77 of file threads_man.hpp.

Constructor & Destructor Documentation

◆ SSrvThread()

SSrvThread::SSrvThread ( void  )

Definition at line 502 of file threads_man.cpp.

◆ ~SSrvThread()

SSrvThread::~SSrvThread ( void  )

Definition at line 515 of file threads_man.cpp.

Member Function Documentation

◆ ExecuteRCU()

void SSrvThread::ExecuteRCU ( void  )

Method implementing RCU job that was scheduled earlier by CallRCU().

Implements CSrvRCUUser.

Definition at line 519 of file threads_man.cpp.

References eThreadLockedForStop, eThreadRevived, eThreadRunning, eThreadStopped, SRV_FATAL, and thread_state.

Member Data Documentation

◆ cur_task

CSrvTask* SSrvThread::cur_task

◆ log_data

SLogData* SSrvThread::log_data

Definition at line 90 of file threads_man.hpp.

Referenced by CSrvDiagMsg::CSrvDiagMsg(), and s_CheckFatalAbort().

◆ mm_pool

SMMMemPoolsSet* SSrvThread::mm_pool

Definition at line 88 of file threads_man.hpp.

Referenced by CMMFlusher::ExecuteSlice().

◆ rcu

SRCUInfo* SSrvThread::rcu

Definition at line 91 of file threads_man.hpp.

Referenced by CSrvRCUUser::CallRCU(), and s_ServiceThreadMain().

◆ sched

SSchedInfo* SSrvThread::sched

Definition at line 89 of file threads_man.hpp.

Referenced by s_FindQueueThread(), and s_FindRebalanceTasks().

◆ seen_jiffy

Uint8 SSrvThread::seen_jiffy

Definition at line 80 of file threads_man.hpp.

◆ seen_secs

int SSrvThread::seen_secs

Definition at line 81 of file threads_man.hpp.

◆ seen_srv_state

EServerState SSrvThread::seen_srv_state

Definition at line 83 of file threads_man.hpp.

◆ socks

SSocketsData* SSrvThread::socks

Definition at line 92 of file threads_man.hpp.

Referenced by s_PerJiffyTasks_Worker().

◆ stat

CSrvStat* SSrvThread::stat

◆ thread_num

TSrvThreadNum SSrvThread::thread_num

◆ thread_state

EThreadState SSrvThread::thread_state

The documentation for this struct was generated from the following files:
Modified on Sat Jul 13 13:37:19 2024 by rev. 669887