thread - specific storage for c / c + + an object behavioral pattern for accessing per - thread state efficiently .
Active Object - An Object Behavioral Pattern for Concurrent Programming