diff options
| author | rsc <devnull@localhost> | 2004-08-11 01:56:35 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2004-08-11 01:56:35 +0000 |
| commit | 73bef9b76b528d3fe92d7ab28d9b81b10e68b1fd (patch) | |
| tree | d1af4390a3080b0c3840d611495c80bc8ba188c1 /src/libthread/sched.c | |
| parent | bf00efba2df4172c1d60e51eb9f0c2af0f9f22c6 (diff) | |
| download | plan9port-73bef9b76b528d3fe92d7ab28d9b81b10e68b1fd.tar.gz plan9port-73bef9b76b528d3fe92d7ab28d9b81b10e68b1fd.zip | |
More consistent use of _exits and exits
in place of _exit and exit.
Diffstat (limited to 'src/libthread/sched.c')
| -rw-r--r-- | src/libthread/sched.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libthread/sched.c b/src/libthread/sched.c index cfc76d67..df8014b6 100644 --- a/src/libthread/sched.c +++ b/src/libthread/sched.c @@ -38,7 +38,7 @@ _schedinit(void *arg) ; _threaddebug(DBGSCHED, "top of schedinit, _threadexitsallstatus=%p", _threadexitsallstatus); if(_threadexitsallstatus) - exits(_threadexitsallstatus); + _exits(_threadexitsallstatus); lock(&p->lock); if((t=p->thread) != nil){ p->thread = nil; @@ -149,7 +149,7 @@ relock: unlock(&p->readylock); while(rendezvous((ulong)q, 0) == ~0){ if(_threadexitsallstatus) - exits(_threadexitsallstatus); + _exits(_threadexitsallstatus); } /* lock picked up from _threadready */ } @@ -249,7 +249,7 @@ _threadready(Thread *t) _threaddebug(DBGSCHED, "waking process %d", t->proc->pid); while(rendezvous((ulong)q, 0) == ~0){ if(_threadexitsallstatus) - exits(_threadexitsallstatus); + _exits(_threadexitsallstatus); } }else unlock(&t->proc->readylock); |
