A few whitespace and comment fixes.
This commit is contained in:
parent
35db642499
commit
773e3b7dda
@ -157,8 +157,8 @@ exit1(struct thread *td, int rv)
|
|||||||
PROC_LOCK(p);
|
PROC_LOCK(p);
|
||||||
while (p->p_flag & P_HADTHREADS) {
|
while (p->p_flag & P_HADTHREADS) {
|
||||||
/*
|
/*
|
||||||
* First check if some other thread got here before us..
|
* First check if some other thread got here before us.
|
||||||
* if so, act apropriatly, (exit or suspend);
|
* If so, act appropriately: exit or suspend.
|
||||||
*/
|
*/
|
||||||
thread_suspend_check(0);
|
thread_suspend_check(0);
|
||||||
|
|
||||||
@ -179,7 +179,7 @@ exit1(struct thread *td, int rv)
|
|||||||
* re-check all suspension request, the thread should
|
* re-check all suspension request, the thread should
|
||||||
* either be suspended there or exit.
|
* either be suspended there or exit.
|
||||||
*/
|
*/
|
||||||
if (! thread_single(SINGLE_EXIT))
|
if (!thread_single(SINGLE_EXIT))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -718,7 +718,7 @@ stopme:
|
|||||||
/*
|
/*
|
||||||
* We have gotten rid of all the other threads and we
|
* We have gotten rid of all the other threads and we
|
||||||
* are about to either exit or exec. In either case,
|
* are about to either exit or exec. In either case,
|
||||||
* we try our utmost to revert to being a non-threaded
|
* we try our utmost to revert to being a non-threaded
|
||||||
* process.
|
* process.
|
||||||
*/
|
*/
|
||||||
p->p_singlethread = NULL;
|
p->p_singlethread = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user