aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent/machine.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-01-28 13:10:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-01-28 13:10:22 +0200
commit0a2c63de3c508b90d168604f2a5bc1345a12f4c9 (patch)
treec02166932bf7bbce3e9c3701780fe18c51a52c61 /bbot/agent/machine.hxx
parent3fd741756f8b1f75c3051c4c8ba36b56c5175a48 (diff)
Fix race in QEMU shutdown
Diffstat (limited to 'bbot/agent/machine.hxx')
-rw-r--r--bbot/agent/machine.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/bbot/agent/machine.hxx b/bbot/agent/machine.hxx
index b1ad874..04da80e 100644
--- a/bbot/agent/machine.hxx
+++ b/bbot/agent/machine.hxx
@@ -38,10 +38,10 @@ namespace bbot
virtual void
suspend (bool fail_hard = true) = 0;
- // Wait for the machine to terminate up to the specified number of
- // seconds. Update the timeout and return false if the machine is still
- // running, true if the machine exited successfully, and throw failed
- // otherwise.
+ // Wait for the machine to terminate up to the specified number of seconds
+ // (with 0 meaning don't wait). Update the timeout and return false if the
+ // machine is still running, true if the machine exited successfully, and
+ // throw failed otherwise.
//
virtual bool
wait (size_t& seconds, bool fail_hard = true) = 0;