Joel, I suspect you need more changes in confdefs.h to put the keys in the configuration and debug configurations structures, and to accurately estimate the workspace memory usage, in case POSIX_KEYS are used without having posix enabled.
Nothing else seemed obviously wrong at a quick read through. Considering you updated the .scn files, I take it you have run the psxkey tests with this change. Gedare On Wed, Mar 5, 2014 at 2:36 PM, Joel Sherrill <joel.sherr...@oarcorp.com> wrote: > Hi > > As discussed in various threads and private conversations, task variables > are broken by design on SMP systems. POSIX keys are a standard way > to have SMP safe per task data. But currently they are only available > when --enable-posix is specified. > > This rather tedious patch enables them all the time. It touches the > configuration, code, and reworks the tests to use Classic tasks. > > The next step is to eliminate the use of task variables in the > cpukit code. That code is unsafe for SMP systems. > > OK to apply? > > -- > Joel Sherrill, Ph.D. Director of Research & Development > joel.sherr...@oarcorp.com On-Line Applications Research > Ask me about RTEMS: a free RTOS Huntsville AL 35805 > Support Available (256) 722-9985 > > > _______________________________________________ > rtems-devel mailing list > rtems-devel@rtems.org > http://www.rtems.org/mailman/listinfo/rtems-devel > _______________________________________________ rtems-devel mailing list rtems-devel@rtems.org http://www.rtems.org/mailman/listinfo/rtems-devel