[PATCH 4/4] score: PR2152: Use allocator mutex for objects

Gedare Bloom gedare at rtems.org
Thu Mar 27 16:20:54 UTC 2014


Sebastian,

On Thu, Mar 27, 2014 at 12:14 PM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> On 2014-03-27 16:56, Gedare Bloom wrote:
>>
>> Should/Will there be a heap allocator lock added similar to the
>> objects allocator lock?
>
>
> Sorry, I don't understand the question.  Isn't the heap allocator lock the
> _RTEMS_Lock_allocator()/_RTEMS_Unlock_allocator()?
>
>
Don't worry about it for now, it is not relevant to your current patch
set. Here is some clarification though:
The name does not tell me that it is used to lock the heap, but rather
implies it is a global lock used for all allocation with RTEMS. My
point is that the places where it is specifically the Heap being
protected should be made clear.

Thanks,
Gedare



More information about the devel mailing list