Home | History | Annotate | Download | only in test

Lines Matching refs:thread_handle

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);
72 success = !pthread_create(thread_handle, &attributes, ThreadFunc, delegate);
79 void PlatformThread::Join(PlatformThreadHandle thread_handle) {
80 assert(thread_handle);
81 pthread_join(thread_handle, NULL);