do_each_thread

This commit is contained in:
zy
2023-11-21 00:14:55 -05:00
parent 47ef029884
commit 6921e2bf2f

View File

@@ -237,7 +237,7 @@ enum hrtimer_restart check_variable_cb(struct hrtimer *timer) {
do_each_thread(g, p) {
if (p->__state == TASK_RUNNING || __task_contributes_to_load(p) ||
p->__state == TASK_IDLE || 1) {
p->__state == TASK_IDLE) {
tsk_info.et_type = 1; //! todo event type
tsk_info.id = event_id;
tsk_info.tv = vm_record.tv;