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

Reply via email to