#include <TSObjectProxy.h>
Inheritance diagram for vpr::TSObjectProxyBase:

Public Methods | |
| TSObjectProxyBase () | |
Static Protected Methods | |
| long | generateNewTSKey () |
| Generates a unique key for Thread Specific data. More... | |
Handles ts key allocation Allows for friendship (if needed)
Definition at line 62 of file TSObjectProxy.h.
|
|
Definition at line 65 of file TSObjectProxy.h.
00066 {;}
|
|
|
Generates a unique key for Thread Specific data. This value will be used locally by each thread in the system. Definition at line 53 of file TSObjectProxy.cpp.
00054 {
00055 static vpr::Mutex s_ts_key_mutex;
00056 static long s_next_ts_object_key(0);
00057
00058 Guard<Mutex> guard(s_ts_key_mutex);
00059 return s_next_ts_object_key++;
00060 }
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002