Lines Matching refs:thread
4 * gthread.c: solaris thread system implementation
87 HANDLE thread;
380 g_thread_set_priority_win32_impl (gpointer thread, GThreadPriority priority)
382 GThreadData *target = *(GThreadData **)thread;
387 win32_check_for_error (SetThreadPriority (target->thread,
392 g_thread_self_win32_impl (gpointer thread)
398 /* This should only happen for the main thread! */
403 &self->thread, 0, FALSE,
411 *(GThreadData **)thread = self;
456 win32_check_for_error (CloseHandle (self->thread));
494 gpointer thread,
510 retval->thread = (HANDLE) _beginthreadex (NULL, stack_size, g_thread_proxy,
513 if (retval->thread == NULL)
517 "Error creating thread: %s", win_error);
523 *(GThreadData **)thread = retval;
525 g_thread_set_priority_win32_impl (thread, priority);
535 g_thread_join_win32_impl (gpointer thread)
537 GThreadData *target = *(GThreadData **)thread;
542 WaitForSingleObject (target->thread, INFINITE));
544 win32_check_for_error (CloseHandle (target->thread));
577 g_private_new_win32_impl, /* private thread data */
580 g_thread_create_win32_impl, /* thread */