Remove deprecated signal functions

This commit is contained in:
Chris Aumann 2017-03-14 00:50:42 +01:00
parent 24e9b0c1c5
commit eebe966b50
1 changed files with 0 additions and 20 deletions

View File

@ -52,16 +52,6 @@ mod imp {
})
}
// TODO: Required?
pub fn kill(&self) {
self.c_signal(SIGKILL);
}
// TODO: Required?
pub fn pause(&self) {
self.c_signal(SIGTSTP);
}
pub fn reap(&self) {
use nix::sys::wait::*;
@ -85,11 +75,6 @@ mod imp {
}
}
// TODO: Is this required? - This can probably be streamlined with just using --signal SIGCONT
pub fn resume(&self) {
self.c_signal(SIGCONT);
}
pub fn signal(&self, signal: Signal) {
// TODO: Sending dummy signal for now
self.c_signal(SIGCONT);
@ -106,11 +91,6 @@ mod imp {
}
// TODO: Is this required?
pub fn terminate(&self) {
self.c_signal(SIGTERM);
}
pub fn wait(&self) {
let mut done = self.lock.lock().unwrap();
while !*done {