HomeSort by relevance Sort by last modified time
    Searched refs:PlatformThread (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /external/chromium/base/synchronization/
lock.cc 23 DCHECK_EQ(owning_thread_id_, PlatformThread::CurrentId());
28 DCHECK_EQ(owning_thread_id_, PlatformThread::CurrentId());
36 owning_thread_id_ = PlatformThread::CurrentId();
lock_unittest.cc 15 class BasicLockTestThread : public PlatformThread::Delegate {
28 PlatformThread::Sleep(rand() % 20);
34 PlatformThread::Sleep(rand() % 20);
54 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
65 PlatformThread::Sleep(rand() % 20);
71 PlatformThread::Sleep(rand() % 20);
78 PlatformThread::Sleep(rand() % 20);
82 PlatformThread::Join(handle);
90 class TryLockTestThread : public PlatformThread::Delegate {
120 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle))
    [all...]
cancellation_flag.cc 13 DCHECK_EQ(set_on_, PlatformThread::CurrentId());
cancellation_flag.h 24 set_on_ = PlatformThread::CurrentId();
waitable_event_unittest.cc 72 class WaitableEventSignaler : public PlatformThread::Delegate {
80 PlatformThread::Sleep(static_cast<int>(seconds_ * 1000));
96 PlatformThread::Create(0, &signaler, &thread);
100 PlatformThread::Join(thread);
  /external/chromium/base/threading/
platform_thread_unittest.cc 13 class TrivialThread : public PlatformThread::Delegate {
34 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
35 PlatformThread::Join(handle);
46 ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n]));
48 PlatformThread::Join(handle[n]);
60 thread_id_ = PlatformThread::CurrentId();
61 PlatformThread::YieldCurrentThread();
62 PlatformThread::Sleep(50);
76 PlatformThreadId main_thread_id = PlatformThread::CurrentId();
82 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle))
    [all...]
thread_checker_impl.cc 19 return valid_thread_id_ == PlatformThread::CurrentId();
31 valid_thread_id_ = PlatformThread::CurrentId();
platform_thread_win.cc 27 PlatformThread::Delegate* delegate;
33 PlatformThread::Delegate* delegate = thread_params->delegate;
41 // CreateThreadInternal() matches PlatformThread::Create(), except that
45 PlatformThread::Delegate* delegate,
81 PlatformThreadId PlatformThread::CurrentId() {
86 void PlatformThread::YieldCurrentThread() {
91 void PlatformThread::Sleep(int duration_ms) {
96 void PlatformThread::SetName(const char* name) {
116 bool PlatformThread::Create(size_t stack_size, Delegate* delegate,
123 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate)
    [all...]
platform_thread_posix.cc 41 PlatformThread::Delegate* delegate;
47 PlatformThread::Delegate* delegate = thread_params->delegate;
56 PlatformThread::Delegate* delegate,
120 PlatformThreadId PlatformThread::CurrentId() {
136 void PlatformThread::YieldCurrentThread() {
141 void PlatformThread::Sleep(int duration_ms) {
161 void PlatformThread::SetName(const char* name) {
192 void PlatformThread::SetName(const char* /*name*/) {
201 bool PlatformThread::Create(size_t stack_size, Delegate* delegate,
208 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate)
    [all...]
thread.cc 74 if (!PlatformThread::Create(options.stack_size, this, &thread_)) {
102 PlatformThread::Join(thread_);
118 DCHECK_NE(ANNOTATE_UNPROTECTED_READ(thread_id_), PlatformThread::CurrentId());
149 thread_id_ = PlatformThread::CurrentId();
150 PlatformThread::SetName(name_.c_str());
platform_thread.h 5 // WARNING: You should *NOT* be using this class directly. PlatformThread is
51 class BASE_API PlatformThread {
95 DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformThread);
watchdog_unittest.cc 102 PlatformThread::Sleep(500);
112 PlatformThread::Sleep(100); // Sleep a bit, but not past the alarm point.
127 PlatformThread::Sleep(1000);
simple_thread.cc 31 bool success = PlatformThread::Create(options_.stack_size(), this, &thread_);
39 PlatformThread::Join(thread_);
44 tid_ = PlatformThread::CurrentId();
48 PlatformThread::SetName(name_.c_str());
worker_pool_posix.cc 53 class WorkerThread : public PlatformThread::Delegate {
73 "%s/%d", name_prefix_.c_str(), PlatformThread::CurrentId());
74 PlatformThread::SetName(name.c_str());
134 // The new PlatformThread will take ownership of the WorkerThread object,
138 PlatformThread::CreateNonJoinable(kWorkerThreadStackSize, worker);
watchdog.cc 26 init_successful_ = PlatformThread::Create(0, // Default stack size.
41 PlatformThread::Join(handle_);
126 PlatformThread::SetName(name.c_str());
thread_collision_warner.cc 17 const PlatformThreadId current_thread_id = PlatformThread::CurrentId();
watchdog.h 57 class ThreadDelegate : public PlatformThread::Delegate {
  /external/chromium/base/
tools_sanity_unittest.cc 16 class TOOLS_SANITY_TEST_CONCURRENT_THREAD : public PlatformThread::Delegate {
26 PlatformThread::Sleep(100);
120 PlatformThread::Delegate *thread1 =
122 PlatformThread::Delegate *thread2 =
125 PlatformThread::Create(0, thread1, &a);
126 PlatformThread::Create(0, thread2, &b);
127 PlatformThread::Join(a);
128 PlatformThread::Join(b);
lazy_instance.cc 25 PlatformThread::YieldCurrentThread();
spin_wait.h 47 base::PlatformThread::Sleep(50); \
shared_memory_unittest.cc 25 class MultipleThreadMain : public PlatformThread::Delegate {
35 // PlatformThread::Delegate interface.
49 PlatformThread::Sleep(1); // Short wait.
75 class MultipleLockThread : public PlatformThread::Delegate {
80 // PlatformThread::Delegate interface.
102 PlatformThread::Sleep(1); // Short wait.
243 EXPECT_TRUE(PlatformThread::Create(0, thread_delegates[index], &pth));
249 PlatformThread::Join(thread_handles[index]);
272 EXPECT_TRUE(PlatformThread::Create(0, thread_delegates[index], &pth));
278 PlatformThread::Join(thread_handles[index])
    [all...]
  /external/chromium/base/debug/
debugger.cc 21 PlatformThread::Sleep(100);
  /external/chromium/chrome/browser/
images_uitest.cc 20 base::PlatformThread::Sleep(TestTimeouts::action_timeout_ms());
  /external/chromium/net/url_request/
url_request_job_manager.h 87 allowed_thread_ = base::PlatformThread::CurrentId();
90 return allowed_thread_ == base::PlatformThread::CurrentId();
  /external/chromium/chrome/browser/net/
url_info_unittest.cc 70 base::PlatformThread::Sleep(25);
81 base::PlatformThread::Sleep(kMockExpirationTime + 20);

Completed in 1425 milliseconds

1 2 3 4