proc: add state for blocking process
This commit is contained in:
parent
a9196db5b3
commit
c1287cecef
1 changed files with 10 additions and 0 deletions
|
|
@ -58,6 +58,16 @@ struct proc {
|
||||||
|
|
||||||
struct rbtree fd_map;
|
struct rbtree fd_map;
|
||||||
spinlock_t fd_map_lock;
|
spinlock_t fd_map_lock;
|
||||||
|
|
||||||
|
ssize_t (*unblock)(void *, void *, void *, void *, void *);
|
||||||
|
struct {
|
||||||
|
void *arg0;
|
||||||
|
void *arg1;
|
||||||
|
void *arg2;
|
||||||
|
void *arg3;
|
||||||
|
void *arg4;
|
||||||
|
} unblock_args;
|
||||||
|
ssize_t block_retval;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct procregs *proc_current_regs();
|
struct procregs *proc_current_regs();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue