Style.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
8626a0ddc6
commit
624bf9e134
@ -507,8 +507,8 @@ thread_wait(struct proc *p)
|
||||
struct thread *td;
|
||||
|
||||
mtx_assert(&Giant, MA_NOTOWNED);
|
||||
KASSERT((p->p_numthreads == 1), ("multiple threads in thread_wait()"));
|
||||
KASSERT((p->p_exitthreads == 0), ("p_exitthreads leaking"));
|
||||
KASSERT(p->p_numthreads == 1, ("multiple threads in thread_wait()"));
|
||||
KASSERT(p->p_exitthreads == 0, ("p_exitthreads leaking"));
|
||||
td = FIRST_THREAD_IN_PROC(p);
|
||||
/* Lock the last thread so we spin until it exits cpu_throw(). */
|
||||
thread_lock(td);
|
||||
|
Loading…
x
Reference in New Issue
Block a user