aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/tprimes.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-09-17 00:38:29 +0000
committerrsc <devnull@localhost>2004-09-17 00:38:29 +0000
commit06bb4ed20d855b60e39c1125d8d715ba8892265b (patch)
tree8294b537f5b81809671985903e31c4835c41cd04 /src/libthread/tprimes.c
parent984e353160593b20d1e2944e1f2e9ce2117c8490 (diff)
downloadplan9port-06bb4ed20d855b60e39c1125d8d715ba8892265b.tar.gz
plan9port-06bb4ed20d855b60e39c1125d8d715ba8892265b.tar.bz2
plan9port-06bb4ed20d855b60e39c1125d8d715ba8892265b.zip
Rewrite to remove dependence on rendezvous and its bizarre
data structures. Makes it easier to use pthreads too. Still need to add code for non-pthreads systems. Just a checkpoint to switch work to another machine.
Diffstat (limited to 'src/libthread/tprimes.c')
-rw-r--r--src/libthread/tprimes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libthread/tprimes.c b/src/libthread/tprimes.c
index 89d30c03..0e719451 100644
--- a/src/libthread/tprimes.c
+++ b/src/libthread/tprimes.c
@@ -41,6 +41,7 @@ threadmain(int argc, char **argv)
int i;
Channel *c;
+malloc(10);
ARGBEGIN{
case 'D':
_threaddebuglevel = atoi(ARGF());