diff options
author | bd <bdunahu@operationnull.com> | 2025-04-21 11:59:13 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-21 11:59:13 -0400 |
commit | 2553634f4d13c7349682e1a8cc3d4cfeb275458f (patch) | |
tree | 1cdb95849fc249012304467ccde4e29733b080af /gui/worker.h | |
parent | 2b5ca09c90c5e091c094e9ed8f02079674b8aeda (diff) | |
parent | 4a19129e8499bc187ef6e296e050cc8a20bcc2d3 (diff) |
Merge remote-tracking branch 'origin/master' into gui-next
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); |