Main Page
Class Hierarchy
Alphabetical List
Compound List
File List
Compound Members
include
FXScopedThread.h
1
/********************************************************************************
2
* *
3
* S c o p e d T h r e a d S u p p o r t *
4
* *
5
*********************************************************************************
6
* Copyright (C) 2013,2024 by Jeroen van der Zijp. All Rights Reserved. *
7
*********************************************************************************
8
* This library is free software; you can redistribute it and/or modify *
9
* it under the terms of the GNU Lesser General Public License as published by *
10
* the Free Software Foundation; either version 3 of the License, or *
11
* (at your option) any later version. *
12
* *
13
* This library is distributed in the hope that it will be useful, *
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16
* GNU Lesser General Public License for more details. *
17
* *
18
* You should have received a copy of the GNU Lesser General Public License *
19
* along with this program. If not, see <http://www.gnu.org/licenses/> *
20
********************************************************************************/
21
#ifndef FXSCOPEDTHREAD_H
22
#define FXSCOPEDTHREAD_H
23
24
#ifndef FXTHREAD_H
25
#include "FXThread.h"
26
#endif
27
28
namespace
FX
{
29
30
40
class
FXAPI
FXScopedThread
:
public
FXThread
{
41
private
:
42
FXScopedThread
(
const
FXScopedThread
&);
43
FXScopedThread
&operator=(
const
FXScopedThread
&);
44
public
:
45
47
FXScopedThread
();
48
50
virtual
~
FXScopedThread
();
51
};
52
53
}
54
55
#endif
56
FX::FXThread
FXThread provides system-independent support for threads.
Definition:
FXThread.h:60
FX
Definition:
FX4Splitter.h:28
FX::FXScopedThread
FXScopedThread is a kind of thread which automatically performs a thread join to clean up the thread ...
Definition:
FXScopedThread.h:40
Copyright © 1997-2022 Jeroen van der Zijp