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
Describe the bug
The scheduler, which was introduced recently (d82913c) has a major bug of which, as described in the title, the scheduler will only schedule once, or never, and seems to get blocked by one thread.
To Reproduce
Steps to reproduce the behavior:
Build LuaOS with more than 1 program (Userland/luaos-dev-1.rockspec has more than 1 module being built in its build.modules field)
Launch LuaOS
Expected behavior
All programs should share equal time active before being rescheduled
This is most likely caused by a race condition in the scheduler, and therefore could be fixed or at least helped by #25 due to the fact it introduces Futexes to the threads
The text was updated successfully, but these errors were encountered:
Describe the bug
The scheduler, which was introduced recently (d82913c) has a major bug of which, as described in the title, the scheduler will only schedule once, or never, and seems to get blocked by one thread.
To Reproduce
Steps to reproduce the behavior:
Userland/luaos-dev-1.rockspec
has more than 1 module being built in itsbuild.modules
field)Expected behavior
All programs should share equal time active before being rescheduled
Screenshots
Video demonstration
Additional context
This is most likely caused by a race condition in the scheduler, and therefore could be fixed or at least helped by #25 due to the fact it introduces Futexes to the threads
The text was updated successfully, but these errors were encountered: