kernel: Make reschedule_disabled a uint8 instead of a boolean.
Allows some recursion. Change-Id: I15cd36dd01dd59480e60c3106c4a741ae6284c80 Reviewed-on: https://review.haiku-os.org/c/haiku/+/11414 Reviewed-by: waddlesplash <[email protected]> (cherry picked from commit 19e3dda0f15d6183908132dd7385b3a6ca781c27) Reviewed-on: https://review.haiku-os.org/c/haiku/+/11417
This commit is contained in:
committed by
waddlesplash
parent
868b6993ea
commit
37d9955590
@@ -54,7 +54,7 @@ typedef struct CACHE_LINE_ALIGN cpu_ent {
|
|||||||
|
|
||||||
// used to force a reschedule at quantum expiration time
|
// used to force a reschedule at quantum expiration time
|
||||||
bool preempted;
|
bool preempted;
|
||||||
bool reschedule_disabled;
|
uint8 reschedule_disabled;
|
||||||
timer quantum_timer;
|
timer quantum_timer;
|
||||||
|
|
||||||
// keeping track of CPU activity
|
// keeping track of CPU activity
|
||||||
|
|||||||
Reference in New Issue
Block a user