Home
last modified time | relevance | path

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

/xnu-8019.80.24/osfmk/kern/
H A Dtask_policy.c3079 thread_watchlist_t * threadlist; in apply_appstate_watchers() local
3088 threadlist = kalloc_type(thread_watchlist_t, numwatchers, Z_WAITOK | Z_ZERO); in apply_appstate_watchers()
3089 if (threadlist == NULL) { in apply_appstate_watchers()
3099 kfree_type(thread_watchlist_t, numwatchers, threadlist); in apply_appstate_watchers()
3105 kfree_type(thread_watchlist_t, numwatchers, threadlist); in apply_appstate_watchers()
3114 threadlist[i].thread = twp->tw_thread; in apply_appstate_watchers()
3115 thread_reference(threadlist[i].thread); in apply_appstate_watchers()
3118 threadlist[i].importance = INT_MIN; in apply_appstate_watchers()
3120 threadlist[i].importance = twp->tw_importance; in apply_appstate_watchers()
3131 set_thread_appbg(threadlist[j].thread, setbg, threadlist[j].importance); in apply_appstate_watchers()
[all …]