Various additions and fixes.
This commit is contained in:
parent
74f990ad84
commit
fd04aacee1
57 changed files with 2176 additions and 159 deletions
23
src/lib9/9proc.h
Normal file
23
src/lib9/9proc.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
enum
|
||||
{
|
||||
NPRIV = 16,
|
||||
RENDHASH = 33,
|
||||
PIDHASH = 33,
|
||||
};
|
||||
|
||||
typedef struct Uproc Uproc;
|
||||
struct Uproc
|
||||
{
|
||||
Uproc *next;
|
||||
int pid;
|
||||
int pipe[2];
|
||||
int state;
|
||||
void *priv[NPRIV];
|
||||
ulong rendval;
|
||||
ulong rendtag;
|
||||
Uproc *rendhash;
|
||||
p9jmp_buf notejb;
|
||||
};
|
||||
|
||||
extern Uproc *_p9uproc(void);
|
||||
extern void _p9uprocdie(void);
|
||||
Loading…
Add table
Add a link
Reference in a new issue