forked from Imagelibrary/rtems
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:
@@ -1,3 +1,10 @@
|
||||
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.
|
||||
|
||||
2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* include/Makefile.am, include/rtems/rtems/Makefile.am,
|
||||
|
||||
@@ -64,6 +64,7 @@ void _Event_Surrender(
|
||||
if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
|
||||
api->pending_events =
|
||||
_Event_sets_Clear( pending_events, seized_events );
|
||||
(rtems_event_set) the_thread->Wait.count = 0;
|
||||
*(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
|
||||
|
||||
_ISR_Flash( level );
|
||||
|
||||
Reference in New Issue
Block a user