1/* -*- C++ -*-
2 Class to manipulate job execution in ThreadWeaver.
3
4 SPDX-FileCopyrightText: 2005-2013 Mirko Boehm <mirko@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#include "executor_p.h"
10
11namespace ThreadWeaver
12{
13Executor::~Executor()
14{
15}
16
17void Executor::defaultBegin(const JobPointer &job, Thread *thread)
18{
19 job->defaultBegin(job, thread);
20}
21
22void Executor::defaultEnd(const JobPointer &job, Thread *thread)
23{
24 job->defaultEnd(job, thread);
25}
26
27void Executor::run(const JobPointer &job, Thread *thread)
28{
29 job->run(self: job, thread);
30}
31
32}
33

source code of threadweaver/src/executor.cpp