Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

qpid::sys::Thread Class Reference

#include <qpid/sys/Thread.h>

List of all members.

Public Member Functions

 Thread ()
 Thread (qpid::sys::Runnable *)
 Thread (qpid::sys::Runnable &)
void join ()
unsigned long id ()

Static Public Member Functions

static Thread current ()
static unsigned long logId ()
 ID of current thread for logging.

Detailed Description

Definition at line 43 of file Thread.h.


Constructor & Destructor Documentation

qpid::sys::Thread::Thread (  ) 
qpid::sys::Thread::Thread ( qpid::sys::Runnable  )  [explicit]
qpid::sys::Thread::Thread ( qpid::sys::Runnable  )  [explicit]

Member Function Documentation

static Thread qpid::sys::Thread::current (  )  [static]

Referenced by logId().

unsigned long qpid::sys::Thread::id (  ) 

Referenced by logId().

void qpid::sys::Thread::join (  ) 
static unsigned long qpid::sys::Thread::logId (  )  [inline, static]

ID of current thread for logging.

Workaround for broken Thread::current() in APR

Definition at line 61 of file Thread.h.

References current(), and id().


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

Qpid C++ API Reference
Generated on Tue Nov 3 12:04:05 2009 for Qpid C++ Client API by doxygen 1.6.1