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 <[email protected]> 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 : [email protected] > PGP : Public key available on request. > > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. > _______________________________________________ rtems-devel mailing list [email protected] http://www.rtems.org/mailman/listinfo/rtems-devel
