diff options
| author | rsc <devnull@localhost> | 2004-09-23 03:01:36 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2004-09-23 03:01:36 +0000 |
| commit | 7966faa931bfa9cf4ca53dd2d5b6e1eb0f174411 (patch) | |
| tree | cbf2c9099f0d78c2c26aeea687803d43049db521 /src/libthread/proctab.c | |
| parent | c6687d4591964cb13df87f55ec4770e778a4a55c (diff) | |
| download | plan9port-7966faa931bfa9cf4ca53dd2d5b6e1eb0f174411.tar.gz plan9port-7966faa931bfa9cf4ca53dd2d5b6e1eb0f174411.zip | |
Continue fighting pthreads.
Clean up thread library a bit too.
Diffstat (limited to 'src/libthread/proctab.c')
| -rw-r--r-- | src/libthread/proctab.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
