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:
Joel Sherrill
2008-01-07 15:31:18 +00:00
parent 580004a27c
commit a87bbe9bb7
3 changed files with 8 additions and 3 deletions

View File

@@ -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.

View File

@@ -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 );

View File

@@ -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;