summaryrefslogtreecommitdiffstats
path: root/src/libthread/create.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-11-08 16:03:20 +0000
committerrsc <devnull@localhost>2004-11-08 16:03:20 +0000
commit195645536743aeb99eb336726823c38716cec02d (patch)
treeaccb04698efde81ad1228adfddcea695d544ca25 /src/libthread/create.c
parent77dcf88474c55e040940be8a5f9e7fa1537af564 (diff)
downloadplan9port-195645536743aeb99eb336726823c38716cec02d.tar.gz
plan9port-195645536743aeb99eb336726823c38716cec02d.zip
more thread work
Diffstat (limited to 'src/libthread/create.c')
-rw-r--r--src/libthread/create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/create.c b/src/libthread/create.c
index d2f4be25..4e6bc6de 100644
--- a/src/libthread/create.c
+++ b/src/libthread/create.c
@@ -138,7 +138,7 @@ proccreate(void (*f)(void*), void *arg, uint stacksize)
p = _threadgetproc();
np = _newproc();
p->newproc = np;
- p->schedfn = _threadstartproc;
+ p->schedfn = _kthreadstartproc;
id = _newthread(np, f, arg, stacksize, nil, p->thread->grp);
_sched(); /* call into scheduler to create proc XXX */
return id;