On 2013-07-28 17:31, Ashi wrote:
On Fri, Jul 26, 2013 at 9:11 PM, Sebastian Huber <sebastian.hu...@embedded-brains.de <mailto:sebastian.hu...@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?
This _Objects_Put() was introduced to obtain a _Objects_Get/Put pair which may do different things depending on single processor vs. SMP configuration.
-- 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.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ rtems-devel mailing list rtems-devel@rtems.org http://www.rtems.org/mailman/listinfo/rtems-devel