diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-17 23:14:37 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-20 17:37:44 +0300 |
commit | 41f958c4cf68541a48b20ceb608afe2308a6e6a7 (patch) | |
tree | c4e92865e98b7a3b911d355525e984151b44da22 /libbutl/pager.cxx | |
parent | c00321b94d6b952d59257b4a7373a1199e874d98 (diff) |
Add timed_wait() and kill() to process class, change try_wait() signature
Review
Backup
Diffstat (limited to 'libbutl/pager.cxx')
-rw-r--r-- | libbutl/pager.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libbutl/pager.cxx b/libbutl/pager.cxx index 12ad991..3013618 100644 --- a/libbutl/pager.cxx +++ b/libbutl/pager.cxx @@ -168,8 +168,7 @@ namespace butl Sleep (50); #endif - bool r; - if (p_.try_wait (r)) + if (p_.try_wait ()) { p_.out_fd.reset (); |