diff options
author | bunnei <bunneidev@gmail.com> | 2020-02-22 22:32:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-22 22:32:21 -0500 |
commit | 3ef5f2017dba35742b32500e95744512dd5ef630 (patch) | |
tree | ca5359a2ae4e34608e5564e43bdefe4946e413c8 /src/core/core.h | |
parent | d4da52bbd9dea4dc65c92e9b94ec3a2442d4ccae (diff) | |
parent | 3d0a2375ca73ae73d2ed4ee382aa0bb0378242d0 (diff) |
Merge pull request #3416 from FernandoS27/schedule
Kernel: Refactors and Implement a TimeManager and SchedulerLocks
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index e69d68fcf..8d862a8e6 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -360,6 +360,12 @@ public: const CurrentBuildProcessID& GetCurrentProcessBuildID() const; + /// Register a host thread as an emulated CPU Core. + void RegisterCoreThread(std::size_t id); + + /// Register a host thread as an auxiliary thread. + void RegisterHostThread(); + private: System(); |