diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2014-03-27 14:23:21 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-27 14:50:36 +0100 |
commit | 5c0c0cf2a6a9e3fdbcd1ada3f79399c453b1fbd1 (patch) | |
tree | dba573cb48c77127b711bdce1f94816025fdf942 /cpukit/libcsupport/include/rtems/libio_.h | |
parent | privateenv: Remove sharing of user environment between threads. (diff) | |
download | rtems-5c0c0cf2a6a9e3fdbcd1ada3f79399c453b1fbd1.tar.bz2 |
privateenv: Use POSIX keys instead of task variables.
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libio_.h')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio_.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h index 9960288c20..d7f9034e3d 100644 --- a/cpukit/libcsupport/include/rtems/libio_.h +++ b/cpukit/libcsupport/include/rtems/libio_.h @@ -24,6 +24,7 @@ #include <sys/uio.h> #include <errno.h> #include <limits.h> +#include <pthread.h> #include <rtems.h> #include <rtems/libio.h> @@ -238,6 +239,10 @@ void rtems_filesystem_location_free( rtems_filesystem_location_info_t *loc ); */ #include <rtems/userenv.h> +void rtems_libio_free_user_env( void *env ); + +extern pthread_key_t rtems_current_user_env_key; + static inline void rtems_libio_lock( void ) { rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT ); |