diff options
-rw-r--r-- | sys/kern/kern_synch.c | 1 | ||||
-rw-r--r-- | sys/sys/proc.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index fa3e420..914f43e 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -165,7 +165,6 @@ msleep(ident, mtx, priority, wmesg, timo) * and queue it as ready to run. Note that there is danger here * because we need to make sure that we don't sleep allocating * the thread (recursion here might be bad). - * Hence the TDF_INMSLEEP flag. */ mtx_lock_spin(&sched_lock); if (p->p_flag & P_THREADED || p->p_numthreads > 1) { diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 3027f7b..b3a5694 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -354,7 +354,6 @@ struct thread { #define TDF_CVWAITQ 0x000080 /* Thread is on a cv_waitq (not slpq). */ #define TDF_UPCALLING 0x000100 /* This thread is doing an upcall. */ #define TDF_ONSLEEPQ 0x000200 /* On the sleep queue. */ -#define TDF_INMSLEEP 0x000400 /* Don't recurse in msleep(). */ #define TDF_ASTPENDING 0x000800 /* Thread has some asynchronous events. */ #define TDF_TIMOFAIL 0x001000 /* Timeout from sleep after we were awake. */ #define TDF_INTERRUPT 0x002000 /* Thread is marked as interrupted. */ |