Files
rtems/cpukit/libcsupport/src
Joel Sherrill b295019571 2006-10-25 Jennifer Averett <jennifer@oarcorp.com>
* libcsupport/src/termios.c: Change attribute of semaphore. It was
	counting interrupts not acting as a condition synchronization mutex.
	Since the caller did not always need to obtain the semaphore, it was
	not being decremented until there was no data. This could occur after
	hours of running a system and thousands of interrupts. The code in
	fillBufferQueue would spin until it had consumed all of those
	semaphore counts.
2006-10-25 11:27:28 +00:00
..
2004-04-15 13:26:21 +00:00
2004-04-18 06:05:35 +00:00
2004-04-15 13:26:21 +00:00
2004-04-18 06:05:35 +00:00
2004-04-15 13:26:21 +00:00
2006-06-22 22:27:24 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2006-01-10 21:03:59 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-15 13:26:21 +00:00
2004-04-18 06:05:35 +00:00
2004-04-15 13:26:21 +00:00
2004-04-15 13:26:21 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-15 13:26:21 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2006-09-01 19:10:01 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00
2004-04-15 13:26:21 +00:00
2004-04-18 06:05:35 +00:00
2003-03-25 20:48:35 +00:00
2003-03-25 20:48:35 +00:00
2004-04-15 13:26:21 +00:00
2004-04-18 06:05:35 +00:00
2004-04-15 13:26:21 +00:00
2004-04-18 06:05:35 +00:00
2004-04-18 06:05:35 +00:00

--
--  $Id$
--

Overview of newlib support (newlib is from CYGNUS)
    Each task can have its own libc state including:
        open stdio files
        strtok
        multi precision arithmetic state
        etc.

    This is implemented by a reentrancy data structure for each task.

    When a task is "started" (in RTEMS sense) the reentrancy structure
    is allocated.  Its address is stored in notepad[NOTEPAD_LAST].

    When task is switched to, the value of global variable _impure_ptr
    is changed to the value of the new tasks reentrancy structure.

    When a task is deleted
        atexit() processing (for that task) happens
        task's stdio buffers are flushed

    When exit(3) is called
        calling task's atexit processing done
        global libc state atexit processing done
            (this will include any atexit routines installed by drivers)
        executive is shutdown
            causes a context switch back to bsp land


NOTE:
    libc extension are installed by bsp_libc_init()
        iff we are using clock interrupts.
        This hack is necessary to allow the tmtests to avoid
        timing the extensions.