summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-05-03 15:33:41 +0000
committerPavel Labath <labath@google.com>2018-05-03 15:33:41 +0000
commit38d67db39cce632d02bfdc3413289cb6868faa71 (patch)
treeb6ff8b90e58e88a5d17b36754c0be7a9aa7b4e6a /lldb/source/Plugins/Process
parentdc8abc45d236a3cbfb493cdf2b69a5c2fe8c33c5 (diff)
downloadbcm5719-llvm-38d67db39cce632d02bfdc3413289cb6868faa71.tar.gz
bcm5719-llvm-38d67db39cce632d02bfdc3413289cb6868faa71.zip
Remove the timed_out out-argument from Predicate::WaitForValueEqualTo
The function can only return in one of two ways: the Predicate value is successfully set within the allotted time, or it isn't (the wait times out). These states can be represented in the return value, and the extra arg adds no value. llvm-svn: 331458
Diffstat (limited to 'lldb/source/Plugins/Process')
-rw-r--r--lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp b/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp
index 463e5f583c5..d36f64a4903 100644
--- a/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp
+++ b/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp
@@ -175,7 +175,7 @@ bool CommunicationKDP::GetSequenceMutex(
bool CommunicationKDP::WaitForNotRunningPrivate(
const std::chrono::microseconds &timeout) {
- return m_is_running.WaitForValueEqualTo(false, timeout, NULL);
+ return m_is_running.WaitForValueEqualTo(false, timeout);
}
size_t
OpenPOWER on IntegriCloud