From 7966faa931bfa9cf4ca53dd2d5b6e1eb0f174411 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 23 Sep 2004 03:01:36 +0000 Subject: Continue fighting pthreads. Clean up thread library a bit too. --- src/libthread/proctab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libthread/proctab.c') diff --git a/src/libthread/proctab.c b/src/libthread/proctab.c index ec28d676..b8dd2097 100644 --- a/src/libthread/proctab.c +++ b/src/libthread/proctab.c @@ -46,7 +46,7 @@ __threadgetproc(int rm) if(!multi) return theproc; - pid = _threadgetpid(); + pid = getpid(); lock(&ptablock); h = ((unsigned)pid)%PTABHASH; -- cgit v1.2.3