Ignore:
Timestamp:
May 10, 2007, 6:39:03 PM (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
93c2b41
Parents:
c6eba79
Message:

2007-05-10 Joel Sherrill <joel.sherrill@…>

PR 1237/rtems

  • src/lib/libbsp/shared/bsplibc.c: Add logic to prevent stack creep when interrupts occur at a sufficient rate that the interrupted thread never gets to clean its stack. This patch ensures that an interrupted thread will not nest ISR dispatches on its stack.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/bsplibc.c

    rc6eba79 r9847e4a0  
    3232     */
    3333
    34     if ( BSP_Configuration.ticks_per_timeslice > 0 )
    35         libc_init(1);                /* reentrant if possible */
    36     else
    37         libc_init(0);                /* non-reentrant */
     34    libc_init(1);                /* reentrant if possible */
    3835}
Note: See TracChangeset for help on using the changeset viewer.