Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWTThreadLocal<Type>


RWTThreadLocal<Type> RWTMonitor<RWMutexLock>

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Member Functions

Package

Threading

Header File

#include <rw/thread/RWTThreadLocal.h> 

Description

The RWTThreadLocal class provides thread-local storage with simple by-value semantics. An RWTThreadLocal instance may be shared between multiple threads. Doing so creates one instance of typed data per thread. Each thread accesses its own private instance of the typed data whenever it uses the shared RWTThreadLocal instance.

Example

Public Constructors

RWTThreadLocal(RWStaticCtor);
RWTThreadLocal(void);

Public Destructor

~RWTThreadLocal(void);

Public Member Operators

RWTThreadLocal<Type>&
operator=(const Type& value);

Public Member Function

operator 
Type(void) const;


Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.