Skip to content

Commit

Permalink
sched: scheduler lock fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 8, 2024
1 parent ac6e6ca commit 7d8e646
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sched/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ bool schedBusy() {
void schedule() {
if(!scheduling || !processes || !threads) return;

acquireLockBlocking(lock);
//acquireLockBlocking(lock);
if(!acquireLock(lock)) return;
setLocalSched(false);

if(!schedBusy()) {
Expand Down

0 comments on commit 7d8e646

Please sign in to comment.