A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCThreadPool__ThreadImpl.html below:

NCBI C++ ToolKit: CThreadPool_ThreadImpl Class Reference

Search Toolkit Book for CThreadPool_ThreadImpl

Real implementation of all CThreadPool_Thread functions. More...

Real implementation of all CThreadPool_Thread functions.

Definition at line 398 of file thread_pool.cpp.

◆ CThreadPool_ThreadImpl() [1/2]

Constructor.

Parameters
thread_intf ThreadPool_Thread interface object attached to this implementation pool Pool implementation owning this thread

Definition at line 1214 of file thread_pool.cpp.

◆ ~CThreadPool_ThreadImpl() CThreadPool_ThreadImpl::~CThreadPool_ThreadImpl ( void  ) inline ◆ CThreadPool_ThreadImpl() [2/2]

Prohibit copying and assigning.

◆ CancelCurrentTask() void CThreadPool_ThreadImpl::CancelCurrentTask ( void  ) inline ◆ GetCurrentTask() ◆ GetPool() CThreadPool * CThreadPool_ThreadImpl::GetPool ( void  ) const inline ◆ IsFinishing() bool CThreadPool_ThreadImpl::IsFinishing ( void  ) const inline ◆ Main() void CThreadPool_ThreadImpl::Main ( void  ) inline

Implementation of thread Main() method.

See also
CThreadPool_Thread::Main()

Definition at line 1310 of file thread_pool.cpp.

References CThreadPool_Task::eCanceled, CThreadPool_Task::eExecuting, CThreadPool_Task::eFailed, ERR_POST_X, CThreadPool_Task::Execute(), CThreadPool_Thread::Initialize(), CThreadPool_Task::IsCancelRequested(), CRef< C, Locker >::IsNull(), m_CancelRequested, m_CurrentTask, m_FastMutex, m_Finishing, m_Interface, m_Pool, CRef< C, Locker >::NotEmpty(), NULL, s_ConvertTaskResult(), CThreadPool_Impl::sx_RequestToCancel(), CThreadPool_Impl::sx_SetTaskStatus(), CThreadPool_Impl::TaskStarting(), CThreadPool_Impl::TryGetNextTask(), x_Idle(), x_SetIdleState(), and x_TaskFinished().

Referenced by CThreadPool_Thread::Main().

◆ OnExit() void CThreadPool_ThreadImpl::OnExit ( void  ) inline ◆ operator=() ◆ RequestToFinish() void CThreadPool_ThreadImpl::RequestToFinish ( void  ) inline ◆ s_CreateThread() ◆ s_GetImplPointer() ◆ WakeUp() void CThreadPool_ThreadImpl::WakeUp ( void  ) inline ◆ x_Idle() void CThreadPool_ThreadImpl::x_Idle ( void  ) inlineprivate ◆ x_SetIdleState() bool CThreadPool_ThreadImpl::x_SetIdleState ( bool  is_idle ) inlineprivate ◆ x_TaskFinished() ◆ m_CancelRequested atomic<bool> CThreadPool_ThreadImpl::m_CancelRequested private ◆ m_CurrentTask ◆ m_FastMutex ◆ m_Finishing atomic<bool> CThreadPool_ThreadImpl::m_Finishing private ◆ m_IdleTrigger ◆ m_Interface ◆ m_IsIdle bool CThreadPool_ThreadImpl::m_IsIdle private ◆ m_Pool

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4