From ceabd82ac8e796249feacf39c836034ed5e11c6d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 29 Nov 2025 15:01:34 -0500 Subject: chore: source code review and fixes. Signed-off-by: Amlal El Mahrouss --- src/kernel/KernelKit/UserProcessScheduler.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/kernel/KernelKit/UserProcessScheduler.h') diff --git a/src/kernel/KernelKit/UserProcessScheduler.h b/src/kernel/KernelKit/UserProcessScheduler.h index b2ab7dc2..fa34b966 100644 --- a/src/kernel/KernelKit/UserProcessScheduler.h +++ b/src/kernel/KernelKit/UserProcessScheduler.h @@ -128,23 +128,23 @@ class USER_PROCESS final { /***********************************************************************************/ //! @brief Gets the local exit code. /***********************************************************************************/ - KPCError& GetExitCode() noexcept; + KPCError& GetExitCode(); /***********************************************************************************/ ///! @brief Get the process's name ///! @example 'C Runtime Library' /***********************************************************************************/ - const Char* GetName() noexcept; + const Char* GetName(); /***********************************************************************************/ //! @brief return local error code of process. //! @return Int32 local error code. /***********************************************************************************/ - KPCError& GetLocalCode() noexcept; + KPCError& GetLocalCode(); - const User* GetOwner() noexcept; - const ProcessStatusKind& GetStatus() noexcept; - const AffinityKind& GetAffinity() noexcept; + const User* GetOwner(); + const ProcessStatusKind& GetStatus(); + const AffinityKind& GetAffinity(); private: KPCError LastExitCode{0}; @@ -168,7 +168,7 @@ class UserProcessTeam final { Array& AsArray(); Ref& AsRef(); - ProcessID& Id() noexcept; + ProcessID& Id(); public: USER_PROCESS_ARRAY mProcessList; @@ -209,7 +209,7 @@ class UserProcessScheduler final : public ISchedulable { public: USER_PROCESS_REF& TheCurrentProcess(); - SizeT Run() noexcept; + SizeT Run(); public: STATIC UserProcessScheduler& The(); -- cgit v1.2.3