ThreadWeaver

executor.cpp
1 /* -*- C++ -*-
2  Class to manipulate job execution in ThreadWeaver.
3 
4  SPDX-FileCopyrightText: 2005-2013 Mirko Boehm <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #include "executor_p.h"
10 
11 namespace ThreadWeaver
12 {
13 Executor::~Executor()
14 {
15 }
16 
17 void Executor::defaultBegin(const JobPointer &job, Thread *thread)
18 {
19  job->defaultBegin(job, thread);
20 }
21 
22 void Executor::defaultEnd(const JobPointer &job, Thread *thread)
23 {
24  job->defaultEnd(job, thread);
25 }
26 
27 void Executor::cleanup(const JobPointer &, Thread *)
28 {
29 }
30 
31 void Executor::run(const JobPointer &job, Thread *thread)
32 {
33  job->run(job, thread);
34 }
35 
36 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:10:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.