Home
last modified time | relevance | path

Searched refs:thread_handle (Results 1 – 25 of 26) sorted by relevance

12

/external/sfntly/cpp/src/test/
Dplatform_thread.cc32 PlatformThreadHandle* thread_handle) { in Create() argument
33 assert(thread_handle); in Create()
34 *thread_handle = CreateThread(NULL, 0, ThreadFunc, delegate, 0, NULL); in Create()
35 if (!(*thread_handle)) { in Create()
43 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
44 assert(thread_handle); in Join()
45 DWORD result = WaitForSingleObject(thread_handle, INFINITE); in Join()
47 CloseHandle(thread_handle); in Join()
66 PlatformThreadHandle* thread_handle) {
67 assert(thread_handle);
[all …]
Dplatform_thread.h61 static bool Create(Delegate* delegate, PlatformThreadHandle* thread_handle);
66 static void Join(PlatformThreadHandle thread_handle);
/external/chromium_org/third_party/sfntly/cpp/src/test/
Dplatform_thread.cc32 PlatformThreadHandle* thread_handle) { in Create() argument
33 assert(thread_handle); in Create()
34 *thread_handle = CreateThread(NULL, 0, ThreadFunc, delegate, 0, NULL); in Create()
35 if (!(*thread_handle)) { in Create()
43 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
44 assert(thread_handle); in Join()
45 DWORD result = WaitForSingleObject(thread_handle, INFINITE); in Join()
47 CloseHandle(thread_handle); in Join()
66 PlatformThreadHandle* thread_handle) {
67 assert(thread_handle);
[all …]
Dplatform_thread.h61 static bool Create(Delegate* delegate, PlatformThreadHandle* thread_handle);
66 static void Join(PlatformThreadHandle thread_handle);
/external/chromium_org/base/threading/
Dplatform_thread_win.cc111 void* thread_handle = CreateThread( in CreateThreadInternal() local
113 if (!thread_handle) { in CreateThreadInternal()
119 *out_thread_handle = PlatformThreadHandle(thread_handle); in CreateThreadInternal()
121 CloseHandle(thread_handle); in CreateThreadInternal()
188 PlatformThreadHandle* thread_handle) { in Create() argument
189 DCHECK(thread_handle); in Create()
190 return CreateThreadInternal(stack_size, delegate, thread_handle); in Create()
195 PlatformThreadHandle* thread_handle, in CreateWithPriority() argument
197 bool result = Create(stack_size, delegate, thread_handle); in CreateWithPriority()
199 SetThreadPriority(*thread_handle, priority); in CreateWithPriority()
[all …]
Dplatform_thread_posix.cc92 PlatformThreadHandle* thread_handle, in CreateThread() argument
117 params.handle = thread_handle; in CreateThread()
138 CHECK_EQ(handle, thread_handle->platform_handle()); in CreateThread()
204 PlatformThreadHandle* thread_handle) { in Create() argument
207 delegate, thread_handle, kThreadPriority_Normal); in Create()
212 PlatformThreadHandle* thread_handle, in CreateWithPriority() argument
216 delegate, thread_handle, priority); in CreateWithPriority()
230 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
235 CHECK_EQ(0, pthread_join(thread_handle.handle_, NULL)); in Join()
Dplatform_thread.h170 PlatformThreadHandle* thread_handle);
178 PlatformThreadHandle* thread_handle,
189 static void Join(PlatformThreadHandle thread_handle);
Dthread.h166 PlatformThreadHandle thread_handle() { return thread_; } in thread_handle() function
/external/libhevc/common/
Dithread.c77 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) in ithread_create() argument
82 if(0 == thread_handle) in ithread_create()
85 ppv_thread_handle = (HANDLE *)thread_handle; in ithread_create()
98 WORD32 ithread_join(void *thread_handle, void **val_ptr) in ithread_join() argument
103 if(0 == thread_handle) in ithread_join()
106 ppv_thread_handle = (HANDLE *)thread_handle; in ithread_join()
117 void ithread_exit(void *thread_handle) in ithread_exit() argument
123 if(0 == thread_handle) in ithread_exit()
126 ppv_thread_handle = (HANDLE *)thread_handle; in ithread_exit()
326 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) in ithread_create() argument
[all …]
Dithread.h43 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
/external/chromium_org/base/win/
Dscoped_process_information_unittest.cc71 EXPECT_EQ(kThreadHandle, process_info.thread_handle()); in TEST_F()
93 EXPECT_EQ(NULL, process_info.thread_handle()); in TEST_F()
163 EXPECT_EQ(kThreadHandle, process_info.thread_handle()); in TEST_F()
Dscoped_process_information.h57 HANDLE thread_handle() const { in thread_handle() function
Dscoped_process_information.cc76 CheckAndDuplicateHandle(other.thread_handle(), &thread_handle_)) { in DuplicateFrom()
/external/lldb/tools/darwin-threads/
Dexamine-threads.c255 get_proc_threadinfo (pid_t pid, uint64_t thread_handle, struct proc_threadinfo *pth) in get_proc_threadinfo() argument
258 int ret = proc_pidinfo (pid, PROC_PIDTHREADINFO, thread_handle, in get_proc_threadinfo()
428 … printf (" pthread handle id 0x%llx\n", (uint64_t) identifier_info.thread_handle); in main()
431 … int proc_threadinfo_succeeded = get_proc_threadinfo (pid, identifier_info.thread_handle, &pth); in main()
/external/chromium_org/net/test/embedded_test_server/
Dembedded_test_server_unittest.cc316 base::PlatformThreadHandle thread_handle; in TEST_P() local
320 ASSERT_TRUE(base::PlatformThread::Create(0, &delegate, &thread_handle)); in TEST_P()
321 base::PlatformThread::Join(thread_handle); in TEST_P()
/external/chromium_org/dbus/
Dtest_server.cc27 base::PlatformThread::Join(dbus_thread->thread_handle()); in main()
/external/chromium_org/sandbox/win/src/
Drestricted_token_utils.cc213 HANDLE temp_thread = process_info.thread_handle(); in StartRestrictedProcessInJob()
229 ::ResumeThread(process_info.thread_handle()); in StartRestrictedProcessInJob()
Dtarget_process.h90 return sandbox_process_info_.thread_handle(); in MainThread()
Dtarget_process.cc166 HANDLE temp_thread = process_info.thread_handle(); in Create()
179 if (!::GetThreadContext(process_info.thread_handle(), &context)) { in Create()
Dpolicy_target_test.cc256 EXPECT_EQ(1, ::ResumeThread(target.thread_handle())); in TEST()
319 EXPECT_EQ(1, ::ResumeThread(target.thread_handle())); in TEST()
/external/chromium_org/testing/gtest/src/
Dgtest-port.cc292 HANDLE thread_handle = ::CreateThread( in CreateThread() local
299 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread()
301 if (thread_handle == NULL) { in CreateThread()
304 return thread_handle; in CreateThread()
/external/openssl/crypto/threads/
Dmttest.c767 HANDLE thread_handle[MAX_THREAD_NUMBER]; in do_threads() local
777 thread_handle[i]=CreateThread(NULL, in do_threads()
793 (CONST HANDLE *)&(thread_handle[i]),TRUE,INFINITE) in do_threads()
/external/chromium_org/base/process/
Dlaunch_win.cc222 ResumeThread(process_info.thread_handle()); in LaunchProcess()
/external/lldb/tools/debugserver/source/MacOSX/
DMachTask.cpp263 if ((scanType & eProfileThreadName) && (identifier_info.thread_handle != 0)) in get_threads_profile_data()
266 …int len = ::proc_pidinfo(pid, PROC_PIDTHREADINFO, identifier_info.thread_handle, &proc_threadinfo,… in get_threads_profile_data()
DMachThread.cpp687 …roc_pidinfo (m_process->ProcessID(), PROC_PIDTHREADINFO, m_ident_info.thread_handle, &m_proc_threa… in GetName()

12