diff options
| author | 2020-02-14 14:40:20 -0500 | |
|---|---|---|
| committer | 2020-02-14 14:40:20 -0500 | |
| commit | f552d553bac1374c583d748dad27f8c86e86c4a0 (patch) | |
| tree | 1da4aa037ff417fa4fd43bffac267dcb2b55a72d /src/core/hle/kernel/process.h | |
| parent | Merge pull request #3379 from ReinUsesLisp/cbuf-offset (diff) | |
| parent | Core: Correct compilition in GCC (diff) | |
| download | yuzu-f552d553bac1374c583d748dad27f8c86e86c4a0.tar.gz yuzu-f552d553bac1374c583d748dad27f8c86e86c4a0.tar.xz yuzu-f552d553bac1374c583d748dad27f8c86e86c4a0.zip | |
Merge pull request #3401 from FernandoS27/synchronization
Set of refactors for Kernel Synchronization and Hardware Constants
Diffstat (limited to 'src/core/hle/kernel/process.h')
| -rw-r--r-- | src/core/hle/kernel/process.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index 3483fa19d..4887132a7 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h | |||
| @@ -15,8 +15,8 @@ | |||
| 15 | #include "core/hle/kernel/handle_table.h" | 15 | #include "core/hle/kernel/handle_table.h" |
| 16 | #include "core/hle/kernel/mutex.h" | 16 | #include "core/hle/kernel/mutex.h" |
| 17 | #include "core/hle/kernel/process_capability.h" | 17 | #include "core/hle/kernel/process_capability.h" |
| 18 | #include "core/hle/kernel/synchronization_object.h" | ||
| 18 | #include "core/hle/kernel/vm_manager.h" | 19 | #include "core/hle/kernel/vm_manager.h" |
| 19 | #include "core/hle/kernel/wait_object.h" | ||
| 20 | #include "core/hle/result.h" | 20 | #include "core/hle/result.h" |
| 21 | 21 | ||
| 22 | namespace Core { | 22 | namespace Core { |
| @@ -60,7 +60,7 @@ enum class ProcessStatus { | |||
| 60 | DebugBreak, | 60 | DebugBreak, |
| 61 | }; | 61 | }; |
| 62 | 62 | ||
| 63 | class Process final : public WaitObject { | 63 | class Process final : public SynchronizationObject { |
| 64 | public: | 64 | public: |
| 65 | explicit Process(Core::System& system); | 65 | explicit Process(Core::System& system); |
| 66 | ~Process() override; | 66 | ~Process() override; |
| @@ -359,10 +359,6 @@ private: | |||
| 359 | /// specified by metadata provided to the process during loading. | 359 | /// specified by metadata provided to the process during loading. |
| 360 | bool is_64bit_process = true; | 360 | bool is_64bit_process = true; |
| 361 | 361 | ||
| 362 | /// Whether or not this process is signaled. This occurs | ||
| 363 | /// upon the process changing to a different state. | ||
| 364 | bool is_signaled = false; | ||
| 365 | |||
| 366 | /// Total running time for the process in ticks. | 362 | /// Total running time for the process in ticks. |
| 367 | u64 total_process_running_time_ticks = 0; | 363 | u64 total_process_running_time_ticks = 0; |
| 368 | 364 | ||