fan2nd

Results 2 comments of fan2nd

But if I change it this way, the event flag won't be cleared, and it will still cause an immediate wake-up when executing the WFE instruction later.

# current design ``` loop{ run_queue.dequeue_all(); // if there is new task waked in poll(), event reg be set by `sev` asm!("wfe"); // not entry sleep and clear event reg...