Update git submodules
[LibreOffice.git] / vcl / inc / watchdog.hxx
blob2555104a6b26dc7ba09fac4b030a7ec4c6500d92
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #pragma once
12 #include <sal/config.h>
13 #include <salhelper/thread.hxx>
15 class WatchdogThread final : private salhelper::Thread
17 WatchdogThread();
18 virtual void execute() override;
20 public:
21 using salhelper::Thread::acquire;
22 using salhelper::Thread::release;
23 static void start();
24 static void stop();
27 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */