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

1 2

  /external/sfntly/cpp/src/test/
platform_thread.cc 32 PlatformThreadHandle* thread_handle) {
33 assert(thread_handle);
34 *thread_handle = CreateThread(NULL, 0, ThreadFunc, delegate, 0, NULL);
35 if (!(*thread_handle)) {
43 void PlatformThread::Join(PlatformThreadHandle thread_handle) {
44 assert(thread_handle);
45 DWORD result = WaitForSingleObject(thread_handle, INFINITE);
47 CloseHandle(thread_handle);
66 PlatformThreadHandle* thread_handle) {
67 assert(thread_handle);
    [all...]
platform_thread.h 55 // |*thread_handle| will be assigned a handle to the newly created thread,
61 static bool Create(Delegate* delegate, PlatformThreadHandle* thread_handle);
65 // |thread_handle|.
66 static void Join(PlatformThreadHandle thread_handle);
  /external/chromium/base/threading/
platform_thread_win.cc 47 PlatformThreadHandle thread_handle; local
64 thread_handle = CreateThread(
66 if (!thread_handle) {
72 *out_thread_handle = thread_handle;
74 CloseHandle(thread_handle);
117 PlatformThreadHandle* thread_handle) {
118 DCHECK(thread_handle);
119 return CreateThreadInternal(stack_size, delegate, thread_handle);
128 void PlatformThread::Join(PlatformThreadHandle thread_handle) {
129 DCHECK(thread_handle);
    [all...]
platform_thread.h 75 // |*thread_handle| will be assigned a handle to the newly created thread,
82 PlatformThreadHandle* thread_handle);
91 // |thread_handle|.
92 static void Join(PlatformThreadHandle thread_handle);
platform_thread_posix.cc 57 PlatformThreadHandle* thread_handle) {
109 success = !pthread_create(thread_handle, &attributes, ThreadFunc, params);
202 PlatformThreadHandle* thread_handle) {
204 delegate, thread_handle);
217 void PlatformThread::Join(PlatformThreadHandle thread_handle) {
219 // the thread referred to by |thread_handle| may still be running long-lived /
222 pthread_join(thread_handle, NULL);
thread.h 123 PlatformThreadHandle thread_handle() { return thread_; } function in class:base::Thread
  /external/chromium_org/base/threading/
platform_thread_win.cc 104 void* thread_handle = CreateThread( local
106 if (!thread_handle) {
112 *out_thread_handle = PlatformThreadHandle(thread_handle);
114 CloseHandle(thread_handle);
171 PlatformThreadHandle* thread_handle) {
172 DCHECK(thread_handle);
173 return CreateThreadInternal(stack_size, delegate, thread_handle);
178 PlatformThreadHandle* thread_handle,
180 bool result = Create(stack_size, delegate, thread_handle);
182 SetThreadPriority(*thread_handle, priority)
    [all...]
platform_thread_posix.cc 92 PlatformThreadHandle* thread_handle,
117 params.handle = thread_handle;
136 CHECK_EQ(handle, thread_handle->platform_handle());
197 PlatformThreadHandle* thread_handle) {
200 delegate, thread_handle, kThreadPriority_Normal);
205 PlatformThreadHandle* thread_handle,
209 delegate, thread_handle, priority);
223 void PlatformThread::Join(PlatformThreadHandle thread_handle) {
225 // the thread referred to by |thread_handle| may still be running long-lived /
228 pthread_join(thread_handle.handle_, NULL)
    [all...]
platform_thread.h 123 // |*thread_handle| will be assigned a handle to the newly created thread,
130 PlatformThreadHandle* thread_handle);
138 PlatformThreadHandle* thread_handle,
148 // |thread_handle|.
149 static void Join(PlatformThreadHandle thread_handle);
thread.h 137 PlatformThreadHandle thread_handle() { return thread_; } function in class:base::Thread
  /external/chromium_org/base/win/
scoped_process_information.h 80 HANDLE thread_handle() const { function in class:base::win::ScopedProcessInformation
scoped_process_information.cc 77 CheckAndDuplicateHandle(other.thread_handle(),
scoped_process_information_unittest.cc 71 EXPECT_EQ(kThreadHandle, process_info.thread_handle());
93 EXPECT_EQ(NULL, process_info.thread_handle());
158 EXPECT_EQ(kThreadHandle, process_info.thread_handle());