Patch - Enable POSIX Keys in All Configurations

Joel Sherrill joel.sherrill at OARcorp.com
Wed Mar 5 19:36:18 UTC 2014


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.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-POSIX-keys-now-enabled-in-all-configurations.patch
Type: text/x-patch
Size: 69532 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20140305/9c144748/attachment.bin>


More information about the devel mailing list