Changeset 296 for trunk/hal/tsar_mips32/drivers/soclib_tty.c
- Timestamp:
- Jul 31, 2017, 1:59:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_tty.c
r279 r296 82 82 // Block and deschedule server thread 83 83 thread_block( CURRENT_THREAD , THREAD_BLOCKED_DEV_ISR ); 84 sched_yield( );84 sched_yield( NULL ); 85 85 } 86 86 else if( type == TXT_WRITE ) // descheduling strategy for calling thread … … 94 94 // Block and deschedule server thread 95 95 thread_block( CURRENT_THREAD , THREAD_BLOCKED_DEV_ISR ); 96 sched_yield( );96 sched_yield( NULL ); 97 97 } 98 98 else if( type == TXT_SYNC_WRITE ) // busy waiting strategy for calling thread
Note: See TracChangeset
for help on using the changeset viewer.