Lines Matching defs:ThreadLocalPointer
12 // handled. This means for uses of ThreadLocalPointer, you must correctly
16 // ThreadLocalPointer<Type> wraps a Type*. It performs no creation or
36 // DCHECK(Singleton<ThreadLocalPointer<MyClass> >::get()->Get() == NULL);
37 // Singleton<ThreadLocalPointer<MyClass> >::get()->Set(this);
41 // DCHECK(Singleton<ThreadLocalPointer<MyClass> >::get()->Get() != NULL);
42 // Singleton<ThreadLocalPointer<MyClass> >::get()->Set(NULL);
48 // return Singleton<ThreadLocalPointer<MyClass> >::get()->Get();
84 class ThreadLocalPointer {
86 ThreadLocalPointer() : slot_() {
90 ~ThreadLocalPointer() {
109 DISALLOW_COPY_AND_ASSIGN(ThreadLocalPointer<Type>);
126 ThreadLocalPointer<void> tlp_;