If you can read this text, it means you are not experiencing this website at its best. This website is designed for used with a standards-compliant browser.
Current version: 2.3.2
ZThreads
A platform-independent, multi-threading and synchronization library for C++
Home Documentation Downloads CVS Contact

ThreadLocalImpl Class Reference

#include <ThreadLocalImpl.h>

Inheritance diagram for ThreadLocalImpl:

NonCopyable ThreadLocal List of all members.

Public Types

typedef CountedPtr< Value,
size_t > 
ValuePtr

Public Member Functions

 ThreadLocalImpl ()
 Create a ThreadLocalImpl.
 ~ThreadLocalImpl ()
 Destroy a ThreadLocalImpl.

Protected Member Functions

ValuePtr value (ValuePtr(*pfn)()) const
 Get the Value for the current thread.
void clear () const
 Clear any value set for this thread.

Static Protected Member Functions

void clearAll ()
 Clear any value set with any ThreadLocal for this thread.

Detailed Description

Author:
Eric Crahen <http://www.code-foo.com>
Date:
<2003-07-27T10:23:19-0400>
Version:
2.3.0
See also:
ThreadLocal


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