|
|
@ -66,8 +66,13 @@ impl Apps {
|
|
|
|
if proc.app.hold.unwrap_or(false) {
|
|
|
|
if proc.app.hold.unwrap_or(false) {
|
|
|
|
holds = Some(holds.unwrap_or(0) + 1);
|
|
|
|
holds = Some(holds.unwrap_or(0) + 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
poll.register(&proc.process, proc.token, Ready::readable(), PollOpt::edge())
|
|
|
|
poll.register(
|
|
|
|
.unwrap();
|
|
|
|
&proc.process,
|
|
|
|
|
|
|
|
proc.token,
|
|
|
|
|
|
|
|
Ready::readable(),
|
|
|
|
|
|
|
|
PollOpt::edge(),
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
.unwrap();
|
|
|
|
procs.push(proc);
|
|
|
|
procs.push(proc);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Err(e) => {
|
|
|
|
Err(e) => {
|
|
|
|