[PATCH] posix: Reimplement POSIX Key manager to use a red-black tree.
Ashi
ashi08104 at gmail.com
Sun Jul 28 15:31:52 UTC 2013
On Fri, Jul 26, 2013 at 9:11 PM, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> On 2013-07-06 09:17, Ashi wrote:
>
>> @@ -51,7 +49,8 @@ int pthread_key_delete(
>> * of the application to free the memory.
>> */
>> _POSIX_Keys_Free( the_key );
>> - _Objects_Put( &the_key->Object );
>> + _Objects_Close( &_POSIX_Keys_Information, &the_key->Object );
>> + _Thread_Enable_dispatch();
>>
>
> Please use _Objects_Put() here instead of the _Thread_Enable_dispatch().
>
> Hi, Sebastain, what's the difference between these 2 ways?
--
> 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<sebastian.huber at embedded-brains.de>
> PGP : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130728/4b83f6e8/attachment-0001.html>
More information about the devel
mailing list