diff options
| author | rsc <devnull@localhost> | 2004-09-21 01:11:28 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2004-09-21 01:11:28 +0000 |
| commit | c6687d4591964cb13df87f55ec4770e778a4a55c (patch) | |
| tree | ee669a419904e929ae8ae54fd04c2bb41b5a57b1 /src/libthread/main.c | |
| parent | 3d5e34e146b5ba5c973230abb624ce9126024569 (diff) | |
| download | plan9port-c6687d4591964cb13df87f55ec4770e778a4a55c.tar.gz plan9port-c6687d4591964cb13df87f55ec4770e778a4a55c.zip | |
Continue the pthreads torture.
Diffstat (limited to 'src/libthread/main.c')
| -rw-r--r-- | src/libthread/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libthread/main.c b/src/libthread/main.c index 679a334b..8cdd8ca3 100644 --- a/src/libthread/main.c +++ b/src/libthread/main.c @@ -50,7 +50,7 @@ main(int argc, char **argv) a->argc = argc; a->argv = argv; p = _newproc(mainlauncher, a, mainstacksize, "threadmain", 0, 0); - _schedinit(p); + _scheduler(p); abort(); /* not reached */ return 0; } @@ -80,7 +80,7 @@ _schedfork(Proc *p) { int pid; lock(&p->lock); - pid = ffork(RFMEM|RFNOWAIT, _schedinit, p); + pid = ffork(RFMEM|RFNOWAIT, _scheduler, p); p->pid = pid; unlock(&p->lock); return pid; |
