Home | History | Annotate | Download | only in gthread

Lines Matching refs:attr

311   pthread_attr_t attr;
318 posix_check_cmd (pthread_attr_init (&attr));
326 pthread_attr_setstacksize (&attr, stack_size);
334 pthread_attr_setscope (&attr, PTHREAD_SCOPE_SYSTEM);
338 posix_check_cmd (pthread_attr_setdetachstate (&attr,
346 posix_check_cmd (pthread_attr_getschedparam (&attr, &sched));
348 posix_check_cmd_prio (pthread_attr_setschedparam (&attr, &sched));
352 (pthread_attr_setprio (&attr, g_thread_priority_map [priority]));
355 ret = posix_error (pthread_create (thread, &attr,
358 posix_check_cmd (pthread_attr_destroy (&attr));