SunOS can rot in hell.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include <u.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include "threadimpl.h"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include <u.h>
|
||||
#include <signal.h>
|
||||
#include "threadimpl.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include <u.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include "threadimpl.h"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include <u.h>
|
||||
#include <signal.h>
|
||||
#include "threadimpl.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include <u.h>
|
||||
#include <signal.h>
|
||||
#include "threadimpl.h"
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user