Files
rtems/cpukit/libcsupport/src
Joel Sherrill 667501a314 termios: Add Capability to Generate SIGINTR and SIGQUIT
This patch adds the ability for termios to send SIGINTR on receipt
of VINTR and SIGQUIT for VKILL and return -1/EINTR from read() on
a termios channel. Importantly, this patch does not alter the default
behavior or force POSIX signal code in just because termios is used.
The application must explicitly enable the POSIX behavior of generating
a signal upon receipt of these characters. This is discussed in the
POSIX standard:

   https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap11.html

Closes #3800.
2019-10-08 14:25:41 -05:00
..
2018-10-22 08:06:06 +02:00
2015-10-26 09:13:19 +01:00
2017-10-12 07:24:44 +02:00
2015-10-26 09:13:19 +01:00
2018-10-04 08:02:29 +02:00
2017-08-25 10:58:58 +02:00
2017-08-25 10:58:58 +02:00
2017-09-07 07:40:19 +02:00
2017-09-15 10:29:34 +02:00
2017-09-15 10:29:34 +02:00
2017-09-15 10:29:34 +02:00
2017-09-15 10:29:34 +02:00
2017-09-15 10:29:34 +02:00
2017-09-15 10:29:34 +02:00
2017-09-15 10:29:34 +02:00
2017-09-15 10:29:34 +02:00
2017-09-15 10:29:34 +02:00
2017-09-15 10:29:34 +02:00
2014-11-20 10:30:22 +01:00
2015-10-26 09:13:19 +01:00
2017-10-05 14:29:01 +02:00
2017-09-15 10:29:34 +02:00
2015-10-26 09:13:19 +01:00
2017-12-06 07:13:04 +01:00
2017-09-15 10:55:38 +02:00
2015-10-26 09:13:19 +01:00
2017-09-15 10:29:34 +02:00
2016-02-25 11:35:54 +01:00
2016-07-22 09:13:07 +02:00
2018-11-14 07:02:03 +01:00
2015-11-25 08:33:31 +01:00
2018-10-22 08:06:05 +02:00
2017-03-02 07:54:52 +01:00
2017-09-12 09:57:53 +02:00
2017-09-15 10:29:34 +02:00
2015-12-24 16:52:34 -06:00
2017-09-15 10:27:13 +02:00
2014-10-24 16:05:59 -07:00
2015-01-22 07:52:40 +01:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2018-11-08 13:18:28 +01:00
2015-10-26 09:13:19 +01:00
2015-05-19 12:00:44 +02:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2017-09-15 10:29:34 +02:00
2017-09-15 10:27:13 +02:00

--

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.

    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.