You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to p24 in this slide, thread in same priority is execute in round robin scheduling, but somehow if thread was in the busy loop, this scheduler will hang in that loop.
Also found this problem in F9-Kernel-Node where lazy y says
assume ping and pong thread was create, and have following code.
ping_thread
pong_thread
main
we will get this result, after pong acquire mutex, it stuck in busy loop.
but if I add sleep for test, it work again.
result
I'll try to fix this. or maybe this just a recursive lock?
The text was updated successfully, but these errors were encountered: