[PATCH] posix: Reimplement POSIX Key manager to use a red-black tree.

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jul 26 13:11:47 UTC 2013


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().

-- 
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