Thread-Specific Storage for C/C++: An Object Behavioral Pattern for Accessing per-Thread State Efficiently


By: D.C. Schmidt, T.H. Harrison, N. Pryce

Summary: Allow multiple threads to use one logically global access point to retrieve thread-specific data without incurring locking overhead for each access.

Pattern: Thread-Specific Storage

Allow multiple threads to use one logically global access point to retrieve thread-specific data without incurring locking overhead for each access.


Published in: C++ Report, Nov./Dec. 1997
Pages: 33-47, 52
Category: Behavioral, Concurrent Systems

Url: http://www.cs.wustl.edu/~schmidt/patterns-ace.html