Add sys scheme to allow inspection of processes. WIP: Signals.
This commit is contained in:
parent
224c43f761
commit
d18bf07f3e
9 changed files with 445 additions and 64 deletions
|
@ -55,6 +55,8 @@ pub struct Context {
|
|||
pub stack: Option<Memory>,
|
||||
/// User grants
|
||||
pub grants: Arc<Mutex<Vec<Grant>>>,
|
||||
/// The name of the context
|
||||
pub name: Arc<Mutex<Vec<u8>>>,
|
||||
/// The current working directory
|
||||
pub cwd: Arc<Mutex<Vec<u8>>>,
|
||||
/// Kernel events
|
||||
|
@ -87,6 +89,7 @@ impl Context {
|
|||
heap: None,
|
||||
stack: None,
|
||||
grants: Arc::new(Mutex::new(Vec::new())),
|
||||
name: Arc::new(Mutex::new(Vec::new())),
|
||||
cwd: Arc::new(Mutex::new(Vec::new())),
|
||||
events: Arc::new(WaitQueue::new()),
|
||||
env: Arc::new(Mutex::new(BTreeMap::new())),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue