Lines Matching full: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<char> TLPType;
19 ThreadLocalTesterBase(TLPType* tlp, base::WaitableEvent* done)
27 base::WaitableEvent* done_;
32 SetThreadLocal(TLPType* tlp, base::WaitableEvent* done)
52 GetThreadLocal(TLPType* tlp, base::WaitableEvent* done)
75 base::DelegateSimpleThreadPool tp1("ThreadLocalTest tp1", 1);
76 base::DelegateSimpleThreadPool tp2("ThreadLocalTest tp1", 1);
80 base::ThreadLocalPointer<char> tlp;
85 base::WaitableEvent done(WaitableEvent::ResetPolicy::MANUAL,
152 base::ThreadLocalBoolean tlb;
164 base::ThreadLocalBoolean tlb;
169 } // namespace base