[rtems commit] score: Add _Thread_Get_maximum_internal_threads()
chrisj at rtems.org
Fri Feb 7 23:15:22 UTC 2014
]On 7/02/2014 6:55 pm, Sebastian Huber wrote:
> On 2014-02-07 08:49, Chris Johns wrote:
>> On 4/02/2014 8:01 pm, Sebastian Huber wrote:
>>> +RTEMS_INLINE_ROUTINE uint32_t
>>> + uint32_t maximum_internal_threads = 0;
>>> + /* Idle threads */
>>> + maximum_internal_threads +=
>> Why is the code setting the local variable to 0 then doing the addition ?
> Hm, this was a copy and paste from an earlier version which did three
> additions like this in row.
> What about the attached patch?
This is fine.
More information about the devel