[PATCH 2/4] score: Remove idle field of Per_CPU_Control

Sebastian Huber sebastian.huber at embedded-brains.de
Wed May 29 17:43:55 UTC 2013


On 29/05/13 18:26, Gedare Bloom wrote:
> I don't like the names of _Thread_Set_exit_status() and
> _Thread_Get_exit_status(). They are misleading because there is no
> such thing as a thread's "exit_status".

We have also _Thread_Stop_multitasking() and 
_Thread_Start_multitasking() which use these new functions.  From the 
parameter list its clear that these functions don't operate on a 
particular thread, since in this case they would have a thread parameter.

Maybe use _Thread_Get_global_exit_status() and 
_Thread_Set_global_exit_status()?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list