| Date: Thu, 23 Sep 2004 03:25:29 +0000
Add // to acid thread line so it is executable.
Remove p9fork.
Diffstat:
M acid/thread | 2 +-
M include/libc.h | 6 ++----
2 files changed, 3 insertions(+), 5 deletions(-)
--- |
| t@@ -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 "; |
| t@@ -655,8 +655,6 @@ enum
/* RFNOMNT = (1<<14) */
};
-extern int ffork(int, void(*)(void*), void*);
-
typedef
struct Qid
{
t@@ -714,7 +712,7 @@ extern int p9dup(int, int);
extern int errstr(char*, uint);
extern int p9exec(char*, char*[]);
/* extern int execl(char*, ...); */
-extern int p9fork(void);
+/* extern int p9fork(void); */
extern int p9rfork(int);
/* not implemented
extern int fauth(int, char*);
t@@ -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 |