Home
last modified time | relevance | path

Searched refs:bound_thread (Results 1 – 3 of 3) sorted by relevance

/xnu-11417.121.6/tests/sched/
H A Dcluster_bound_threads.c68 pthread_t bound_thread; variable
83 rv = pthread_create(&bound_thread, &attr, spin_bound_thread, (void *)(uintptr_t)'P');
92 mach_port_t thread_port = pthread_mach_thread_np(bound_thread);
162 pthread_t bound_thread; variable
163 create_thread(&bound_thread, NULL, spin_bound_thread, arg);
168 uint64_t recommended_user_us = observe_thread_user_time(bound_thread, observe_seconds);
184 uint64_t derecommended_user_us = observe_thread_user_time(bound_thread, observe_seconds);
H A Dclutch_runqueue.c411 …test_thread_t bound_thread = create_thread(TH_BUCKET_SHARE_DF, same_tg, root_bucket_to_highest_pri… variable
412 set_thread_cluster_bound(bound_thread, 1);
413 enqueue_thread(cluster_target(1), bound_thread);
414 ret = dequeue_thread_expect(cluster_target(1), bound_thread);
/xnu-11417.121.6/osfmk/kern/
H A Dsched_clutch.c2329 thread_t bound_thread = run_queue_peek(&root_bucket->scrb_bound_thread_runq); in sched_clutch_thread_bound_lookup() local
2331 …(bound_thread == NULL || sched_clutch_pri_greater_than_tiebreak(prev_thread->sched_pri, bound_thre… in sched_clutch_thread_bound_lookup()
2334 assert(bound_thread != THREAD_NULL); in sched_clutch_thread_bound_lookup()
2335 return bound_thread; in sched_clutch_thread_bound_lookup()