Changeset 18269cef in rtems
- Timestamp:
- 02/13/96 15:37:33 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- b38955b
- Parents:
- a31ddf7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/rtems/src/event.c
ra31ddf7 r18269cef 199 199 switch ( sync_state ) { 200 200 case EVENT_SYNC_SYNCHRONIZED: 201 /* 202 * This cannot happen. It indicates that this routine did not 203 * enter the synchronization states above. 204 */ 205 return; 206 201 207 case EVENT_SYNC_NOTHING_HAPPENED: 202 208 _ISR_Enable( level ); 203 209 return; 210 204 211 case EVENT_SYNC_TIMEOUT: 205 212 executing->Wait.return_code = RTEMS_TIMEOUT; … … 207 214 _Thread_Unblock( executing ); 208 215 return; 216 209 217 case EVENT_SYNC_SATISFIED: 210 218 if ( _Watchdog_Is_active( &executing->Timer ) ) { … … 329 337 break; 330 338 case OBJECTS_LOCAL: 339 340 /* 341 * If the event manager is not synchronized, then it is either 342 * "nothing happened", "timeout", or "satisfied". If the_thread 343 * is the executing thread, then it is in the process of blocking 344 * and it is the thread which is responsible for the synchronization 345 * process. 346 * 347 * If it is not satisfied, then it is "nothing happened" and 348 * this is the "timeout" transition. After a request is satisfied, 349 * a timeout is not allowed to occur. 350 */ 351 331 352 if ( _Event_Sync_state != EVENT_SYNC_SYNCHRONIZED && 332 353 _Thread_Is_executing( the_thread ) ) { -
cpukit/rtems/src/event.c
ra31ddf7 r18269cef 199 199 switch ( sync_state ) { 200 200 case EVENT_SYNC_SYNCHRONIZED: 201 /* 202 * This cannot happen. It indicates that this routine did not 203 * enter the synchronization states above. 204 */ 205 return; 206 201 207 case EVENT_SYNC_NOTHING_HAPPENED: 202 208 _ISR_Enable( level ); 203 209 return; 210 204 211 case EVENT_SYNC_TIMEOUT: 205 212 executing->Wait.return_code = RTEMS_TIMEOUT; … … 207 214 _Thread_Unblock( executing ); 208 215 return; 216 209 217 case EVENT_SYNC_SATISFIED: 210 218 if ( _Watchdog_Is_active( &executing->Timer ) ) { … … 329 337 break; 330 338 case OBJECTS_LOCAL: 339 340 /* 341 * If the event manager is not synchronized, then it is either 342 * "nothing happened", "timeout", or "satisfied". If the_thread 343 * is the executing thread, then it is in the process of blocking 344 * and it is the thread which is responsible for the synchronization 345 * process. 346 * 347 * If it is not satisfied, then it is "nothing happened" and 348 * this is the "timeout" transition. After a request is satisfied, 349 * a timeout is not allowed to occur. 350 */ 351 331 352 if ( _Event_Sync_state != EVENT_SYNC_SYNCHRONIZED && 332 353 _Thread_Is_executing( the_thread ) ) {
Note: See TracChangeset
for help on using the changeset viewer.