plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 4fbe07e1db9282a09a3f021922a3e13346b5e932
parent 05d8c6df6c626f9e80e7d0ffe241c061bda36324
Author: rsc <devnull@localhost>
Date:   Thu, 23 Sep 2004 03:25:29 +0000

Add // to acid thread line so it is executable.

Remove p9fork.

Diffstat:
Macid/thread | 2+-
Minclude/libc.h | 6++----
2 files changed, 3 insertions(+), 5 deletions(-)

diff --git 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 @@ -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