Synchronization tweaks for IPC services (#2028)

* using sequentally consistent checks

* making shutdown method synchronous

* redndant line
This commit is contained in:
Nikolay Volf
2016-09-01 14:04:19 +04:00
committed by Arkadiy Paronyan
parent b4f3c4bd7a
commit 3439c06a1c
3 changed files with 8 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ pub struct ModuleState {
#[derive(Ipc)]
pub trait ControlService {
fn shutdown(&self);
fn shutdown(&self) -> bool;
}
#[derive(Ipc)]