Home
last modified time | relevance | path

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

/xnu-12377.1.9/tests/sched/
H A Dcluster_bound_threads.c67 pthread_t bound_thread; variable
82 rv = pthread_create(&bound_thread, &attr, spin_bound_thread, (void *)(uintptr_t)'P');
91 mach_port_t thread_port = pthread_mach_thread_np(bound_thread);
157 pthread_t bound_thread; variable
158 create_thread(&bound_thread, NULL, spin_bound_thread, arg);
163 uint64_t recommended_user_us = observe_thread_user_time(bound_thread, observe_seconds);
175 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(pset_target(1), bound_thread);
414 ret = dequeue_thread_expect(pset_target(1), bound_thread);
/xnu-12377.1.9/osfmk/kern/
H A Dsched_clutch.c2403 thread_t bound_thread = run_queue_peek(&root_bucket->scrb_bound_thread_runq); in sched_clutch_thread_bound_lookup() local
2405 …(bound_thread == NULL || sched_clutch_pri_greater_than_tiebreak(prev_thread->sched_pri, bound_thre… in sched_clutch_thread_bound_lookup()
2408 assert(bound_thread != THREAD_NULL); in sched_clutch_thread_bound_lookup()
2409 return bound_thread; in sched_clutch_thread_bound_lookup()