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

Gedare Bloom gedare at rtems.org
Wed May 29 18:00:42 UTC 2013


Yes I think adding "global" will make it more clear what the exit
status refers to.

On Wed, May 29, 2013 at 1:43 PM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> 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