From 195645536743aeb99eb336726823c38716cec02d Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 8 Nov 2004 16:03:20 +0000 Subject: more thread work --- src/libthread/create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libthread/create.c') 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; -- cgit v1.2.3