diff options
author | bunnei <bunneidev@gmail.com> | 2022-01-15 01:24:59 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-01-15 01:43:59 +0100 |
commit | bf32fcc817a0f3fcbe90e8e5b5ba325ef0480d3f (patch) | |
tree | cab10043311fb326552461417e7fe7f47e71ff47 /src/core/hle/kernel/k_worker_task.h | |
parent | common: fiber: YieldTo: Avoid hard crash on nullptr previous_fiber. (diff) | |
download | yuzu-bf32fcc817a0f3fcbe90e8e5b5ba325ef0480d3f.tar yuzu-bf32fcc817a0f3fcbe90e8e5b5ba325ef0480d3f.tar.gz yuzu-bf32fcc817a0f3fcbe90e8e5b5ba325ef0480d3f.tar.bz2 yuzu-bf32fcc817a0f3fcbe90e8e5b5ba325ef0480d3f.tar.lz yuzu-bf32fcc817a0f3fcbe90e8e5b5ba325ef0480d3f.tar.xz yuzu-bf32fcc817a0f3fcbe90e8e5b5ba325ef0480d3f.tar.zst yuzu-bf32fcc817a0f3fcbe90e8e5b5ba325ef0480d3f.zip |
Diffstat (limited to 'src/core/hle/kernel/k_worker_task.h')
-rw-r--r-- | src/core/hle/kernel/k_worker_task.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_worker_task.h b/src/core/hle/kernel/k_worker_task.h new file mode 100644 index 000000000..b7794c6a8 --- /dev/null +++ b/src/core/hle/kernel/k_worker_task.h @@ -0,0 +1,18 @@ +// Copyright 2022 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "core/hle/kernel/k_synchronization_object.h" + +namespace Kernel { + +class KWorkerTask : public KSynchronizationObject { +public: + explicit KWorkerTask(KernelCore& kernel_); + + void DoWorkerTask(); +}; + +} // namespace Kernel |