Changeset 296 for trunk/kernel/devices/dev_nic.c
- Timestamp:
- Jul 31, 2017, 1:59:52 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_nic.c
r279 r296 80 80 81 81 // start server thread 82 thread_block( new_thread , THREAD_BLOCKED_DEV_QUEUE ); 82 83 thread_unblock( XPTR( local_cxy , new_thread ) , THREAD_BLOCKED_GLOBAL ); 83 84 … … 128 129 // block on THREAD_BLOCKED_IO condition and deschedule 129 130 thread_block( thread_ptr , THREAD_BLOCKED_IO ); 130 sched_yield( );131 sched_yield( NULL ); 131 132 132 133 // disable NIC-RX IRQ … … 198 199 // block on THREAD_BLOCKED I/O condition and deschedule 199 200 thread_block( thread_ptr , THREAD_BLOCKED_IO ); 200 sched_yield( );201 sched_yield( NULL ); 201 202 202 203 // disable NIC-TX IRQ
Note: See TracChangeset
for help on using the changeset viewer.