[rtems commit] librpc: Use POSIX key instead of task variables

Joel Sherrill joel.sherrill at OARcorp.com
Mon Mar 24 17:39:57 UTC 2014


On 3/24/2014 12:34 PM, Sebastian Huber wrote:
> Hello Joel,
>
> On 03/24/2014 05:59 PM, Joel Sherrill wrote:
>> Grep'ing to see what was left, I see two things:
>>
>> + privateenv.c
> what is your opinion on removing rtems_libio_share_private_env()?
Not sure.
> http://www.rtems.org/pipermail/rtems-devel/2014-March/006134.html
>
> This would dramatically simplify the implementation.  What was the use 
> case for this function?

It allows a group of threads to share per-process information.  You can
share a single
copy across all threads, one unique instance per thread, or share
between a subset of
threads.

I think one user of this feature is the ftp server. That may be the only
one.


>> + rpc used task_variable in the names of its types and data.
>> Should that be changed?
> I don't know who uses this stuff outside of the RTEMS tree.
>

-- 
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




More information about the devel mailing list