Lines Matching defs:base
5 #include "base/logging.h"
6 #include "base/threading/simple_thread.h"
7 #include "base/threading/thread_local.h"
8 #include "base/synchronization/waitable_event.h"
11 namespace base {
15 class ThreadLocalTesterBase : public base::DelegateSimpleThreadPool::Delegate {
17 typedef base::ThreadLocalPointer<ThreadLocalTesterBase> TLPType;
19 ThreadLocalTesterBase(TLPType* tlp, base::WaitableEvent* done)
25 base::WaitableEvent* done_;
30 SetThreadLocal(TLPType* tlp, base::WaitableEvent* done)
48 GetThreadLocal(TLPType* tlp, base::WaitableEvent* done)
69 base::DelegateSimpleThreadPool tp1("ThreadLocalTest tp1", 1);
70 base::DelegateSimpleThreadPool tp2("ThreadLocalTest tp1", 1);
74 base::ThreadLocalPointer<ThreadLocalTesterBase> tlp;
80 base::WaitableEvent done(true, false);
146 base::ThreadLocalBoolean tlb;
158 base::ThreadLocalBoolean tlb;
163 } // namespace base