NCBI C++ ToolKit
Public Member Functions
CBlockingQueue< TRequest >::CCompletingHandle Class Reference

Search Toolkit Book for CBlockingQueue::CCompletingHandle

It may be desirable to store handles obtained from GetHandle() in instances of CCompletingHandle to ensure that they are marked as complete when all is said and done, even in the face of exceptions. More...

#include <util/thread_pool_old.hpp>

+ Inheritance diagram for CBlockingQueue< TRequest >::CCompletingHandle:
+ Collaboration diagram for CBlockingQueue< TRequest >::CCompletingHandle:

List of all members.

Public Member Functions

 CCompletingHandle (const TItemHandle &h)
 ~CCompletingHandle ()

Detailed Description

template<typename TRequest>
class CBlockingQueue< TRequest >::CCompletingHandle

It may be desirable to store handles obtained from GetHandle() in instances of CCompletingHandle to ensure that they are marked as complete when all is said and done, even in the face of exceptions.

Definition at line 124 of file thread_pool_old.hpp.


Constructor & Destructor Documentation

template<typename TRequest>
CBlockingQueue< TRequest >::CCompletingHandle::CCompletingHandle ( const TItemHandle h) [inline]

Definition at line 127 of file thread_pool_old.hpp.

template<typename TRequest>
CBlockingQueue< TRequest >::CCompletingHandle::~CCompletingHandle ( ) [inline]

The documentation for this class was generated from the following file:
Modified on Tue Sep 16 17:43:42 2014 by modify_doxy.py rev. 426318