SunOS can rot in hell.

This commit is contained in:
rsc 2004-03-26 01:59:35 +00:00
parent 4e3a2cc1f9
commit be22ae2d07
52 changed files with 211 additions and 160 deletions

View file

@ -1,3 +1,4 @@
#include <u.h>
#include <fcntl.h>
#include <unistd.h>
#include "threadimpl.h"

View file

@ -1,3 +1,4 @@
#include <u.h>
#include <signal.h>
#include "threadimpl.h"

View file

@ -1,3 +1,4 @@
#include <u.h>
#include <unistd.h>
#include <fcntl.h>
#include "threadimpl.h"

View file

@ -1,3 +1,4 @@
#include <u.h>
#include <signal.h>
#include "threadimpl.h"

View file

@ -1,3 +1,4 @@
#include <u.h>
#include <signal.h>
#include "threadimpl.h"

View file

@ -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);