From 95b7ecbbdb445a8f2408d1b0b3d32cb799d15568 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 18 Dec 2021 19:03:44 +0200 Subject: osl::Mutex->std::mutex in WakeUpThread Change-Id: I469fa855eb373829f23232875669f607dcb0c6a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127104 Tested-by: Jenkins Reviewed-by: Noel Grandin --- framework/inc/helper/wakeupthread.hxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'framework/inc') diff --git a/framework/inc/helper/wakeupthread.hxx b/framework/inc/helper/wakeupthread.hxx index f9099180d03f..cdc8700a5266 100644 --- a/framework/inc/helper/wakeupthread.hxx +++ b/framework/inc/helper/wakeupthread.hxx @@ -23,8 +23,8 @@ #include #include -#include -#include +#include +#include #include namespace com::sun::star::util @@ -37,9 +37,8 @@ namespace framework class WakeUpThread final : public salhelper::Thread { css::uno::WeakReference updatable_; - osl::Condition condition_; - - osl::Mutex mutex_; + std::condition_variable condition_; + std::mutex mutex_; bool terminate_; void execute() override; -- cgit v1.2.3