diff options
author | rsc <devnull@localhost> | 2003-11-24 22:39:06 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2003-11-24 22:39:06 +0000 |
commit | 912fba95e74c7631352bc5007249d75e720bbcdf (patch) | |
tree | b9c86c0c38c71d742ffd3990706f380f8263fd8d /src/libthread/rendez.c | |
parent | 2db9e4821d8ae4889e63e5bb205b04eccb7af405 (diff) | |
download | plan9port-912fba95e74c7631352bc5007249d75e720bbcdf.tar.gz plan9port-912fba95e74c7631352bc5007249d75e720bbcdf.tar.bz2 plan9port-912fba95e74c7631352bc5007249d75e720bbcdf.zip |
Changes for Mac OS X. Most important is stack sizes in samterm,
which were completely bogus. (Libthread used to ignore them but
not anymore. Maybe we really should ignore them, but that breaks
Venti, which needs *really* big stacks.)
Diffstat (limited to 'src/libthread/rendez.c')
-rw-r--r-- | src/libthread/rendez.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libthread/rendez.c b/src/libthread/rendez.c index 62b825b5..70eb0ae8 100644 --- a/src/libthread/rendez.c +++ b/src/libthread/rendez.c @@ -52,12 +52,12 @@ _threadnrendez++; t->rendval = val; t->rendhash = *l; *l = t; - t->nextstate = Rendezvous; ++nrendez; if(nrendez > _threadhighnrendez) _threadhighnrendez = nrendez; - _threaddebug(DBGREND, "Rendezvous for tag %lud", t->rendtag); + _threaddebug(DBGREND, "Rendezvous for tag %lud (m=%d)", t->rendtag, t->moribund); unlock(&_threadrgrp.lock); + t->nextstate = Rendezvous; _sched(); t->inrendez = 0; _threaddebug(DBGREND, "Woke after rendezvous; val is %lud", t->rendval); |