LibreOffice Module vcl (master)
1
vcl
inc
watchdog.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
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
*/
9
10
#pragma once
11
12
#include <
sal/config.h
>
13
#include <
salhelper/thread.hxx
>
14
#include <atomic>
15
#include <vector>
16
17
class
WatchdogThread
final :
private
salhelper::Thread
18
{
19
WatchdogThread
();
20
virtual
void
execute
()
override
;
21
22
public
:
23
using
salhelper::Thread::acquire
;
24
using
salhelper::Thread::release
;
25
static
void
start
();
26
static
void
stop
();
27
};
28
29
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
WatchdogThread
Definition:
watchdog.hxx:18
WatchdogThread::execute
virtual void execute() override
Definition:
watchdog.cxx:104
WatchdogThread::start
static void start()
Definition:
watchdog.cxx:137
WatchdogThread::WatchdogThread
WatchdogThread()
Definition:
watchdog.cxx:99
WatchdogThread::stop
static void stop()
Definition:
watchdog.cxx:148
salhelper::SimpleReferenceObject::release
void release()
salhelper::SimpleReferenceObject::acquire
void acquire()
salhelper::Thread
config.h
thread.hxx
Generated on Sun Jul 30 2023 04:35:02 for LibreOffice Module vcl (master) by
1.9.3