SunOS can rot in hell.
This commit is contained in:
parent
4e3a2cc1f9
commit
be22ae2d07
52 changed files with 211 additions and 160 deletions
|
|
@ -25,12 +25,12 @@ threadnotify(int (*f)(void*, char*), int in)
|
|||
int (*from)(void*, char*), (*to)(void*, char*);
|
||||
|
||||
if(in){
|
||||
from = nil;
|
||||
from = 0;
|
||||
to = f;
|
||||
topid = _threadgetproc()->pid;
|
||||
}else{
|
||||
from = f;
|
||||
to = nil;
|
||||
to = 0;
|
||||
topid = 0;
|
||||
}
|
||||
lock(&onnotelock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue