- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
r733fd3d r12daa43 15 15 16 16 #define __cforall_thread__ 17 #define _GNU_SOURCE 18 17 19 // #define __CFA_DEBUG_PRINT_RUNTIME_CORE__ 18 20 … … 278 280 279 281 // Spin a little on I/O, just in case 280 for(5) {282 for(5) { 281 283 __maybe_io_drain( this ); 282 284 readyThread = pop_fast( this->cltr ); … … 285 287 286 288 // no luck, try stealing a few times 287 for(5) {289 for(5) { 288 290 if( __maybe_io_drain( this ) ) { 289 291 readyThread = pop_fast( this->cltr );
Note:
See TracChangeset
for help on using the changeset viewer.