Continue fighting pthreads.
Clean up thread library a bit too.
This commit is contained in:
parent
c6687d4591
commit
7966faa931
19 changed files with 539 additions and 654 deletions
|
|
@ -46,7 +46,7 @@ __threadgetproc(int rm)
|
|||
if(!multi)
|
||||
return theproc;
|
||||
|
||||
pid = _threadgetpid();
|
||||
pid = getpid();
|
||||
|
||||
lock(&ptablock);
|
||||
h = ((unsigned)pid)%PTABHASH;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue