Changeset 40883773 in rtems


Ignore:
Timestamp:
Jun 18, 2013, 12:57:19 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
99970a7
Parents:
95519eed
git-author:
Sebastian Huber <sebastian.huber@…> (06/18/13 12:57:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/30/13 07:53:23)
Message:

score: Add _Assert_Thread_dispatching_repressed()

Location:
cpukit/score
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/Makefile.am

    r95519eed r40883773  
    317317    src/chainappendempty.c src/chainprependempty.c src/chaingetempty.c \
    318318    src/chainnodecount.c \
     319    src/assertthreaddispatchingrepressed.c \
    319320    src/interr.c src/isr.c src/wkspace.c src/wkstringduplicate.c
    320321
  • cpukit/score/include/rtems/score/assert.h

    r95519eed r40883773  
    3939#endif
    4040
     41/**
     42 * @brief Asserts that thread dispatching is repressed.
     43 *
     44 * Thread dispatching can be repressed via _Thread_Disable_dispatch() or
     45 * _ISR_Disable().
     46 */
     47#if defined( RTEMS_DEBUG )
     48  void _Assert_Thread_dispatching_repressed( void );
     49#else
     50  #define _Assert_Thread_dispatching_repressed() ( ( void ) 0 )
     51#endif
     52
    4153#ifdef __cplusplus
    4254}
Note: See TracChangeset for help on using the changeset viewer.