From 7d5c27e308632cce2052eb2aaf6a601aa0b5bc17 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Thu, 27 Mar 2014 14:23:20 +0100 Subject: privateenv: Remove sharing of user environment between threads. --- cpukit/include/rtems/userenv.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'cpukit/include') 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; @@ -96,23 +93,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. * -- cgit v1.2.3