Re: RFC Eliminate Use of Task Variables in cpukit

2014-03-06 Thread Sebastian Huber
On 2014-03-06 20:27, Joel Sherrill wrote: + cpukit/libcsupport/src/privateenv.c - Uses rtems_global_user_env. Switch to POSIX Keys? We can use POSIX keys, or do some optimization: Since applications using a file system will very likely also enable the Newlib re-entrancy we can re-use the _

Re: RFC Eliminate Use of Task Variables in cpukit

2014-03-06 Thread Chris Johns
On 7/03/2014 7:31 am, Joel Sherrill wrote: On 3/6/2014 1:57 PM, Gedare Bloom wrote: On Thu, Mar 6, 2014 at 2:27 PM, Joel Sherrill wrote: + c/src/lib/libbsp/powerpc/mvme5500/vectors/exceptionhandler.c - ??? It looks like this bsp permits installing per-task exception handlers. This seems pr

Re: RFC Eliminate Use of Task Variables in cpukit

2014-03-06 Thread Joel Sherrill
On 3/6/2014 1:57 PM, Gedare Bloom wrote: > On Thu, Mar 6, 2014 at 2:27 PM, Joel Sherrill > wrote: >> Hi >> >> As discussed, task variables are broken by design for SMP configurations. >> This means we need to eliminate their use in cpukit and adjust other code >> as needed. Here is the list of

Re: RFC Eliminate Use of Task Variables in cpukit

2014-03-06 Thread Gedare Bloom
On Thu, Mar 6, 2014 at 2:27 PM, Joel Sherrill wrote: > Hi > > As discussed, task variables are broken by design for SMP configurations. > This means we need to eliminate their use in cpukit and adjust other code > as needed. Here is the list of files which use rtems_task_variable_add(). > We need

RFC Eliminate Use of Task Variables in cpukit

2014-03-06 Thread Joel Sherrill
Hi As discussed, task variables are broken by design for SMP configurations. This means we need to eliminate their use in cpukit and adjust other code as needed. Here is the list of files which use rtems_task_variable_add(). We need to figure out how to address each case: Comunity help could rea