Add // to acid thread line so it is executable.
Remove p9fork.
This commit is contained in:
parent
05d8c6df6c
commit
4fbe07e1db
2 changed files with 3 additions and 5 deletions
|
|
@ -116,7 +116,7 @@ defn threadfmt(T){
|
||||||
local A, yes, i, P, s;
|
local A, yes, i, P, s;
|
||||||
|
|
||||||
P = (Proc)T.proc;
|
P = (Proc)T.proc;
|
||||||
s = "t=(Thread)"+itoa(T, "%-10x")+" ";
|
s = "t=(Thread)"+itoa(T, "%-10x")+" // ";
|
||||||
|
|
||||||
if T.state == Running then
|
if T.state == Running then
|
||||||
s = s + "Running ";
|
s = s + "Running ";
|
||||||
|
|
|
||||||
|
|
@ -655,8 +655,6 @@ enum
|
||||||
/* RFNOMNT = (1<<14) */
|
/* RFNOMNT = (1<<14) */
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int ffork(int, void(*)(void*), void*);
|
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
struct Qid
|
struct Qid
|
||||||
{
|
{
|
||||||
|
|
@ -714,7 +712,7 @@ extern int p9dup(int, int);
|
||||||
extern int errstr(char*, uint);
|
extern int errstr(char*, uint);
|
||||||
extern int p9exec(char*, char*[]);
|
extern int p9exec(char*, char*[]);
|
||||||
/* extern int execl(char*, ...); <unistd.h> */
|
/* extern int execl(char*, ...); <unistd.h> */
|
||||||
extern int p9fork(void);
|
/* extern int p9fork(void); */
|
||||||
extern int p9rfork(int);
|
extern int p9rfork(int);
|
||||||
/* not implemented
|
/* not implemented
|
||||||
extern int fauth(int, char*);
|
extern int fauth(int, char*);
|
||||||
|
|
@ -770,7 +768,7 @@ extern ulong rendezvous(ulong, ulong);
|
||||||
#define sleep p9sleep
|
#define sleep p9sleep
|
||||||
#define wait p9wait
|
#define wait p9wait
|
||||||
#define waitpid p9waitpid
|
#define waitpid p9waitpid
|
||||||
#define fork p9fork
|
/* #define fork p9fork */
|
||||||
#define rfork p9rfork
|
#define rfork p9rfork
|
||||||
/* #define access p9access */
|
/* #define access p9access */
|
||||||
#define create p9create
|
#define create p9create
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue