[PATCH 08/27] score: Add missing idle thread exchanges

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Nov 22 06:43:26 UTC 2021


On 20/11/2021 19:58, Gedare Bloom wrote:
> A bit unrelated, these two functions could be refactored/merged, with
> a callout function passed in to select either _Scheduler_SMP_Preempt()
> or _Scheduler_SMP_Allocate_processor().

Later these functions are changed again. The loop is very similar, 
however, the parameters to _Scheduler_SMP_Preempt() and 
_Scheduler_SMP_Allocate_processor() are slightly different. We could use 
a callback with a void parameter, but this doesn't make debugging easier.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list