[Bug 1620] New: Issues with rtems_libio_share_private_env at cpukit/libcsupport/src/privateenv.c

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Jul 16 04:43:01 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1620

           Summary: Issues with rtems_libio_share_private_env at
                    cpukit/libcsupport/src/privateenv.c
           Product: RTEMS
           Version: 4.10
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: bharath.s.jois at gmail.com


I sense the following problems with the routine rtems_libio_share_private_env:

- The routine is wrapped around with #ifndef HAVE_USERENV_REFCNT ... #endif. Is
this intended? Also, there is a #ifdef HAVE_USERENV_REFCNT... #endif inside
this routine.

- Clarification: 
The routine is to share an environment with two tasks - the task calling the
function and the task with the id passed on to it, right? At the end of the
call, both the tasks need have their environment set to which task's
environment?
The task calling the routine?
The task whose task id is passed in the argument?

For now, the routine doesn't seem to do any of these. I have many more concerns
depending on the answer to the above...

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list