aboutsummaryrefslogtreecommitdiff
path: root/src/sys/schedule.c
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-13 13:01:59 -0700
committerChristian Cunningham <cc@localhost>2022-02-13 13:01:59 -0700
commit91f828411617247abde3f0ace64389bb2050f794 (patch)
tree1206eb445ccae6157eecb5c9db3164ca263ade66 /src/sys/schedule.c
parenta3b9723b28d24faffab2d0c770cd355939746e63 (diff)
Unhook old mutex handles
Diffstat (limited to 'src/sys/schedule.c')
-rw-r--r--src/sys/schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/schedule.c b/src/sys/schedule.c
index 5a45b53..5c7a546 100644
--- a/src/sys/schedule.c
+++ b/src/sys/schedule.c
@@ -34,7 +34,7 @@ void init_scheduler(void)
}
}
// Initialize nextpid
- nextpid = SCHED_PID + 1;
+ nextpid = FIRST_AVAIL_PID;
}
struct RStack get_stack(void)