File indexing completed on 2024-04-28 04:01:22

0001 /* -*- C++ -*-
0002     Class to manipulate job execution in ThreadWeaver.
0003 
0004     SPDX-FileCopyrightText: 2005-2013 Mirko Boehm <mirko@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.0-or-later
0007 */
0008 
0009 #include "executor_p.h"
0010 
0011 namespace ThreadWeaver
0012 {
0013 Executor::~Executor()
0014 {
0015 }
0016 
0017 void Executor::defaultBegin(const JobPointer &job, Thread *thread)
0018 {
0019     job->defaultBegin(job, thread);
0020 }
0021 
0022 void Executor::defaultEnd(const JobPointer &job, Thread *thread)
0023 {
0024     job->defaultEnd(job, thread);
0025 }
0026 
0027 void Executor::run(const JobPointer &job, Thread *thread)
0028 {
0029     job->run(job, thread);
0030 }
0031 
0032 }