Ignore:
Timestamp:
Oct 6, 1997, 9:28:40 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b6770d1
Parents:
d14418b
Message:

Make Post an atomic operation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/rtems/macros/rtems/rtems/eventset.inl

    rd14418b r7e4938c  
    3232
    3333#define _Event_sets_Post( _the_new_events, _the_event_set ) \
    34    *(_the_event_set) |= (_the_new_events)
     34   do { \
     35     ISR_Level level; \
     36     \
     37     _ISR_Disable( level ); \
     38       *(_the_event_set) |= (_the_new_events); \
     39     _ISR_Enable( level ); \
     40   } while (0);
    3541
    3642/*PAGE
Note: See TracChangeset for help on using the changeset viewer.