mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean up.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
|
||||
up.
|
||||
|
||||
2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* posix/src/pthreadcreate.c: Add commit.
|
||||
|
||||
@@ -88,8 +88,8 @@ void _Event_Seize(
|
||||
|
||||
_Event_Sync_state = EVENT_SYNC_NOTHING_HAPPENED;
|
||||
|
||||
executing->Wait.option = (uint32_t ) option_set;
|
||||
executing->Wait.count = (uint32_t ) event_in;
|
||||
executing->Wait.option = (uint32_t) option_set;
|
||||
executing->Wait.count = (uint32_t) event_in;
|
||||
executing->Wait.return_argument = event_out;
|
||||
|
||||
_ISR_Enable( level );
|
||||
|
||||
@@ -71,7 +71,7 @@ void _Event_Timeout(
|
||||
_Thread_Is_executing( the_thread ) ) {
|
||||
if ( _Event_Sync_state != EVENT_SYNC_SATISFIED ) {
|
||||
_Event_Sync_state = EVENT_SYNC_TIMEOUT;
|
||||
}
|
||||
}
|
||||
_ISR_Enable( level );
|
||||
} else {
|
||||
the_thread->Wait.return_code = RTEMS_TIMEOUT;
|
||||
|
||||
Reference in New Issue
Block a user