aboutsummaryrefslogtreecommitdiff
path: root/kernel/proc/sched.c
diff options
context:
space:
mode:
authorMichael Foiani <mfoiani@cs.brown.edu>2024-02-11 04:05:38 -0500
committerMichael Foiani <mfoiani@cs.brown.edu>2024-02-11 04:05:38 -0500
commitc2cebabba05eff0436faf90bbd691c1e36f7013c (patch)
tree395bd6c7513b028c82b9c4cd5ffc1ebf8e1787ca /kernel/proc/sched.c
parent65ece110519f88227039921b09dab60ec4d3d982 (diff)
add debug statements and start some testing
Diffstat (limited to 'kernel/proc/sched.c')
-rw-r--r--kernel/proc/sched.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/proc/sched.c b/kernel/proc/sched.c
index 26d0b22..c4f1d5a 100644
--- a/kernel/proc/sched.c
+++ b/kernel/proc/sched.c
@@ -270,6 +270,8 @@ void sched_make_runnable(kthread_t *thr)
{
// NOT_YET_IMPLEMENTED("PROCS: sched_make_runnable");
+ dbg(DBG_SCHED, "Making thread with proc pid %d runnable\n", thr->kt_proc->p_pid);
+
KASSERT(thr != curthr);
KASSERT(thr->kt_state != KT_RUNNABLE);