diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-28 03:14:59 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-28 03:48:49 +0100 |
commit | f80bc712ea60d10db10af6c752218bd3512e22b0 (patch) | |
tree | 506970e7559e2b58c4cac84517835527183e4a4c /src/core/hle/kernel/process.h | |
parent | kernel/thread: Move process thread initialization into process.cpp (diff) | |
download | yuzu-f80bc712ea60d10db10af6c752218bd3512e22b0.tar yuzu-f80bc712ea60d10db10af6c752218bd3512e22b0.tar.gz yuzu-f80bc712ea60d10db10af6c752218bd3512e22b0.tar.bz2 yuzu-f80bc712ea60d10db10af6c752218bd3512e22b0.tar.lz yuzu-f80bc712ea60d10db10af6c752218bd3512e22b0.tar.xz yuzu-f80bc712ea60d10db10af6c752218bd3512e22b0.tar.zst yuzu-f80bc712ea60d10db10af6c752218bd3512e22b0.zip |
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r-- | src/core/hle/kernel/process.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index 2c0b20f9e..ce7d143de 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h @@ -168,9 +168,9 @@ public: /// Gets the resource limit descriptor for this process SharedPtr<ResourceLimit> GetResourceLimit() const; - /// Gets the default CPU ID for this process - u8 GetDefaultProcessorID() const { - return ideal_processor; + /// Gets the ideal CPU core ID for this process + u8 GetIdealCore() const { + return ideal_core; } /// Gets the bitmask of allowed CPUs that this process' threads can run on. @@ -287,8 +287,8 @@ private: /// Resource limit descriptor for this process SharedPtr<ResourceLimit> resource_limit; - /// The default CPU for this process, threads are scheduled on this cpu by default. - u8 ideal_processor = 0; + /// The ideal CPU core for this process, threads are scheduled on this core by default. + u8 ideal_core = 0; u32 is_virtual_address_memory_enabled = 0; /// The Thread Local Storage area is allocated as processes create threads, |