Wefts::OSSpecificDataPthread Class Reference
[OS Threading Level Abstraction.]

#include <wefts_os_pthread.h>

Inheritance diagram for Wefts::OSSpecificDataPthread:

Inheritance graph
Collaboration diagram for Wefts::OSSpecificDataPthread:

Collaboration graph
List of all members.

Detailed Description

Wrapper class for pthread specific data access (tsd/tls).

Public Member Functions

 OSSpecificDataPthread () throw ( InitError )
 Prepares the internal data.

 ~OSSpecificDataPthread ()
 Destroys the internal data.

void * data () const
void data (const void *dt)

Private Attributes

pthread_key_t m_data

Constructor & Destructor Documentation

Wefts::OSSpecificDataPthread::OSSpecificDataPthread  )  throw ( InitError ) [inline]

Prepares the internal data.

add an exception rising on failure

Wefts::OSSpecificDataPthread::~OSSpecificDataPthread  )  [inline]

Destroys the internal data.

In a well designed application this should make no sense at all, but anyway we provide it.

Member Function Documentation

void Wefts::OSSpecificDataPthread::data const void *  dt  )  [inline, virtual]

Implements Wefts::OSSpecificDataBase.

void* Wefts::OSSpecificDataPthread::data  )  const [inline, virtual]

Implements Wefts::OSSpecificDataBase.

Member Data Documentation

pthread_key_t Wefts::OSSpecificDataPthread::m_data [private]

The documentation for this class was generated from the following file:
Generated on Tue Oct 5 14:57:02 2004 for Wefts by doxygen 1.3.7