Home
last modified time | relevance | path

Searched refs:scheduler_settings (Results 1 – 4 of 4) sorted by relevance

/third_party/glib/glib/
Dgthreadprivate.h59 const GThreadSchedulerSettings *scheduler_settings,
69 …olean g_system_thread_get_scheduler_settings (GThreadSchedulerSettings *scheduler_settings);
77 const GThreadSchedulerSettings *scheduler_settings,
80 gboolean g_thread_get_scheduler_settings (GThreadSchedulerSettings *scheduler_settings);
Dgthread-posix.c1166 const GThreadSchedulerSettings *scheduler_settings; member
1183 g_system_thread_get_scheduler_settings (GThreadSchedulerSettings *scheduler_settings) in g_system_thread_get_scheduler_settings() argument
1198 scheduler_settings->attr = g_malloc0 (size); in g_system_thread_get_scheduler_settings()
1204 res = syscall (SYS_sched_getattr, tid, scheduler_settings->attr, size, flags); in g_system_thread_get_scheduler_settings()
1216 scheduler_settings->attr = g_realloc (scheduler_settings->attr, size); in g_system_thread_get_scheduler_settings()
1218 memset (scheduler_settings->attr, 0, size); in g_system_thread_get_scheduler_settings()
1223 g_free (scheduler_settings->attr); in g_system_thread_get_scheduler_settings()
1233 res = syscall (SYS_sched_setattr, tid, scheduler_settings->attr, flags); in g_system_thread_get_scheduler_settings()
1239 g_free (scheduler_settings->attr); in g_system_thread_get_scheduler_settings()
1258 if (thread->scheduler_settings) in linux_pthread_proxy()
[all …]
Dgthread.c923 const GThreadSchedulerSettings *scheduler_settings, in g_thread_new_internal() argument
931 return (GThread *) g_system_thread_new (proxy, stack_size, scheduler_settings, in g_thread_new_internal()
936 g_thread_get_scheduler_settings (GThreadSchedulerSettings *scheduler_settings) in g_thread_get_scheduler_settings() argument
938 g_return_val_if_fail (scheduler_settings != NULL, FALSE); in g_thread_get_scheduler_settings()
940 return g_system_thread_get_scheduler_settings (scheduler_settings); in g_thread_get_scheduler_settings()
Dgthread-win32.c433 g_system_thread_get_scheduler_settings (GThreadSchedulerSettings *scheduler_settings) in g_system_thread_get_scheduler_settings() argument
436 scheduler_settings->thread_prio = GetThreadPriority (current_thread); in g_system_thread_get_scheduler_settings()
444 const GThreadSchedulerSettings *scheduler_settings, in g_system_thread_new() argument
485 if (scheduler_settings) in g_system_thread_new()
487 thread_prio = scheduler_settings->thread_prio; in g_system_thread_new()