diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-06-12 22:04:37 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2021-07-18 07:47:09 +0200 |
commit | 11d2206f40dd1680923ccae6e421a494c2af0992 (patch) | |
tree | 76513a64006184ee1bfc59ce9fa4aab1b0a2fc43 /unsupported | |
parent | 41af31be7ffbd34518b27aad56a4f54af6a8adf3 (diff) |
Add ProcessList_isCPUonline
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/UnsupportedProcessList.c | 8 | ||||
-rw-r--r-- | unsupported/UnsupportedProcessList.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/unsupported/UnsupportedProcessList.c b/unsupported/UnsupportedProcessList.c index 8b6507bb..16c01558 100644 --- a/unsupported/UnsupportedProcessList.c +++ b/unsupported/UnsupportedProcessList.c @@ -89,3 +89,11 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) { if (!preExisting) ProcessList_add(super, proc); } + +bool ProcessList_isCPUonline(const ProcessList* super, unsigned int id) { + assert(id < super->existingCPUs); + + (void) super; (void) id; + + return true; +} diff --git a/unsupported/UnsupportedProcessList.h b/unsupported/UnsupportedProcessList.h index 10432758..764a1924 100644 --- a/unsupported/UnsupportedProcessList.h +++ b/unsupported/UnsupportedProcessList.h @@ -16,4 +16,6 @@ void ProcessList_delete(ProcessList* this); void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate); +bool ProcessList_isCPUonline(const ProcessList* super, unsigned int id); + #endif |