summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-15 15:47:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-15 16:55:41 +0100
commit6814b7e20d96d334189dbc6c74b46b85977ce091 (patch)
tree2eaf12ad1c52e019e109fbb03f985a212b21b97a /vcl/source
parent1db9b9e5854c3ad8095fe9a41033a26e450188ab (diff)
coverity#1415093 annotate Waiting while holding a lock as deliberate
Change-Id: I88146737b1a1480c9ed1207896b0343dc982784a
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/uitest/uno/uiobject_uno.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/uitest/uno/uiobject_uno.cxx b/vcl/source/uitest/uno/uiobject_uno.cxx
index 938161a3af03..d6f8afb5caea 100644
--- a/vcl/source/uitest/uno/uiobject_uno.cxx
+++ b/vcl/source/uitest/uno/uiobject_uno.cxx
@@ -100,6 +100,7 @@ IMPL_LINK_NOARG(ExecuteWrapper, ExecuteActionHdl, Timer*, void)
std::unique_lock<std::mutex> lock(mMutex);
while (!mbSignal)
{
+ // coverity[blocks] - intentional sleep while mutex held
std::this_thread::sleep_for(std::chrono::milliseconds(5));
}
}