From e6c87f78724743bc74a38678f93ed579ace840f2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 4 Mar 2014 15:54:12 -0600 Subject: POSIX keys now enabled in all configurations. Formerly POSIX keys were only enabled when POSIX threads were enabled. Because they are a truly safe alternative to per-task variables in an SMP system, they are being enabled in all configurations. --- cpukit/rtems/src/tasks.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cpukit/rtems/src/tasks.c') diff --git a/cpukit/rtems/src/tasks.c b/cpukit/rtems/src/tasks.c index 9a2a96f567..41347461ba 100644 --- a/cpukit/rtems/src/tasks.c +++ b/cpukit/rtems/src/tasks.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2009. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -124,6 +124,11 @@ static void _RTEMS_tasks_Delete_extension( tvp = next; } + /* + * Run all the key destructors + */ + _POSIX_Keys_Run_destructors( deleted ); + /* * Free API specific memory */ -- cgit v1.2.3