safer interruptability of fake-idle -- reusing the same skip_next_idle pattern as with idle

This commit is contained in:
holger krekel
2019-11-25 23:45:57 +01:00
parent 59700cb477
commit 618d74cd67
3 changed files with 37 additions and 29 deletions

View File

@@ -70,6 +70,7 @@ impl JobThread {
state.idle = true;
cvar.notify_one();
info!(context, "Interrupting {}-IDLE... finished", self.name);
}
pub fn fetch(&mut self, context: &Context, use_network: bool) {