diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2014-03-27 14:23:20 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-27 14:50:36 +0100 |
commit | 7d5c27e308632cce2052eb2aaf6a601aa0b5bc17 (patch) | |
tree | 26f46ffbd8fe4cb4523aec6b978d6532120393b9 /cpukit/include | |
parent | m68k/mrm332: changes required to get the mrm332 bsp working again. (diff) | |
download | rtems-7d5c27e308632cce2052eb2aaf6a601aa0b5bc17.tar.bz2 |
privateenv: Remove sharing of user environment between threads.
Diffstat (limited to 'cpukit/include')
-rw-r--r-- | cpukit/include/rtems/userenv.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cpukit/include/rtems/userenv.h b/cpukit/include/rtems/userenv.h index 7d874d380f..8a9a4fcd32 100644 --- a/cpukit/include/rtems/userenv.h +++ b/cpukit/include/rtems/userenv.h @@ -64,9 +64,6 @@ typedef struct { gid_t egid; char login_buffer[LOGIN_NAME_MAX]; pid_t pgrp; /* process group id */ - /* User environment maintenance */ - rtems_id task_id; - int reference_count; } rtems_user_env_t; extern rtems_user_env_t * rtems_current_user_env; @@ -97,23 +94,6 @@ extern rtems_user_env_t rtems_global_user_env; rtems_status_code rtems_libio_set_private_env(void); /** - * @brief Creates a private environment shared with another task. - * - * An attempt to share the environment with itself has no effect. This - * function must be called from normal thread context and may block on a mutex. - * Thread dispatching is disabled to protect some critical sections. - * - * @param[in] task_id The private environment is shared with the task specified - * by this identifier. - * - * @retval RTEMS_SUCCESSFUL Successful operation. - * @retval RTEMS_UNSATISFIED No shared environment is available for this task - * @retval RTEMS_TOO_MANY Cannot register the shared environment. - * identifier. - */ -rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ; - -/** * @brief Use the global environment. * * A private environment will be released. This function may be called from |