mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2001-03-26 Zoltan Kocsi <zoltan@bendor.com.au>
* src/eventsurrender.c: Clear event condition when task is unblocked. This makes sure that subsequent event send thinks the task is still blocked and overwrites the initial events received.
This commit is contained in:
@@ -65,6 +65,7 @@ void _Event_Surrender(
|
||||
api->pending_events =
|
||||
_Event_sets_Clear( pending_events, seized_events );
|
||||
*(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
|
||||
(rtems_event_set) the_thread->Wait.count = 0; /* FIX 26MAR01 */
|
||||
|
||||
_ISR_Flash( level );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user