Changeset 446 for trunk/kernel/kern/chdev.c
- Timestamp:
- Jun 19, 2018, 5:12:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/chdev.c
r440 r446 198 198 hal_disable_irq( &save_sr ); 199 199 200 // take the lock 200 // take the lock protecting chdev waiting queue 201 201 remote_spinlock_lock( lock_xp ); 202 202 … … 204 204 thread_block( XPTR( local_cxy , CURRENT_THREAD ) , THREAD_BLOCKED_IO ); 205 205 206 // unblock server thread if required 206 207 if( hal_remote_lw( blocked_xp ) & THREAD_BLOCKED_IDLE ) 207 208 thread_unblock( server_xp , THREAD_BLOCKED_IDLE );
Note: See TracChangeset
for help on using the changeset viewer.