diff options
author | rsc <devnull@localhost> | 2004-09-23 03:25:29 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-09-23 03:25:29 +0000 |
commit | 4fbe07e1db9282a09a3f021922a3e13346b5e932 (patch) | |
tree | b28feb22f432983a8ee6b0086f8ba190fb62b3a0 | |
parent | 05d8c6df6c626f9e80e7d0ffe241c061bda36324 (diff) | |
download | plan9port-4fbe07e1db9282a09a3f021922a3e13346b5e932.tar.gz plan9port-4fbe07e1db9282a09a3f021922a3e13346b5e932.tar.bz2 plan9port-4fbe07e1db9282a09a3f021922a3e13346b5e932.zip |
Add // to acid thread line so it is executable.
Remove p9fork.
-rw-r--r-- | acid/thread | 2 | ||||
-rw-r--r-- | include/libc.h | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/acid/thread b/acid/thread index 54b2c072..ba566b7e 100644 --- a/acid/thread +++ b/acid/thread @@ -116,7 +116,7 @@ defn threadfmt(T){ local A, yes, i, P, s; P = (Proc)T.proc; - s = "t=(Thread)"+itoa(T, "%-10x")+" "; + s = "t=(Thread)"+itoa(T, "%-10x")+" // "; if T.state == Running then s = s + "Running "; diff --git a/include/libc.h b/include/libc.h index da9f9dc1..c4c40e46 100644 --- a/include/libc.h +++ b/include/libc.h @@ -655,8 +655,6 @@ enum /* RFNOMNT = (1<<14) */ }; -extern int ffork(int, void(*)(void*), void*); - typedef struct Qid { @@ -714,7 +712,7 @@ extern int p9dup(int, int); extern int errstr(char*, uint); extern int p9exec(char*, char*[]); /* extern int execl(char*, ...); <unistd.h> */ -extern int p9fork(void); +/* extern int p9fork(void); */ extern int p9rfork(int); /* not implemented extern int fauth(int, char*); @@ -770,7 +768,7 @@ extern ulong rendezvous(ulong, ulong); #define sleep p9sleep #define wait p9wait #define waitpid p9waitpid -#define fork p9fork +/* #define fork p9fork */ #define rfork p9rfork /* #define access p9access */ #define create p9create |