diff options
Diffstat (limited to 'gui/worker.h')
-rw-r--r-- | gui/worker.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/gui/worker.h b/gui/worker.h index 20a9838..62c8d84 100644 --- a/gui/worker.h +++ b/gui/worker.h @@ -1,3 +1,20 @@ +// Simulator for the RISC-V[ECTOR] mini-ISA +// Copyright (C) 2025 Siddarth Suresh +// Copyright (C) 2025 bdunahu + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <https://www.gnu.org/licenses/>. + #ifndef WORKER_H #define WORKER_H @@ -10,9 +27,9 @@ #include "mm.h" #include "wb.h" #include <QDebug> +#include <QMutex> #include <QObject> #include <QThread> -#include <QMutex> #include <deque> class Worker : public QObject @@ -41,7 +58,7 @@ class Worker : public QObject public: explicit Worker(QObject *parent = nullptr); ~Worker(); - QMutex& get_ct_mutex() { return ct_mutex; } + QMutex &get_ct_mutex() { return ct_mutex; } public slots: void runSteps(int steps); |