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

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 24 17:56:56 UTC 2014


On 03/24/2014 06:39 PM, Joel Sherrill wrote:
> 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.
>
>

No, the FTP sever uses chroot() which uses rtems_libio_set_private_env().

The rtems_libio_share_private_env() is not used in the RTEMS tree.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list