- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
r4ccc150 r18f7858 642 642 643 643 switch(fd) { 644 __attribute__((unused)) int ret;645 644 case 0: 646 645 // If the processor isn't ready to sleep then the exchange will already wake it up … … 660 659 // If the processor was ready to sleep, we need to wake it up with an actual write 661 660 val = 1; 662 ret = eventfd_write( fd, val ); 663 /* paranoid */ verifyf( ret == 0, "Expected return to be 0, was %d\n", ret ); 661 eventfd_write( fd, val ); 664 662 665 663 #if !defined(__CFA_NO_STATISTICS__) … … 684 682 this->idle_wctx.sem = 1; 685 683 686 this->idle_wctx.wake__time = rdtscl();687 688 684 eventfd_t val; 689 685 val = 1; 690 __attribute__((unused)) int ret = eventfd_write( this->idle_wctx.evfd, val ); 691 692 /* paranoid */ verifyf( ret == 0, "Expected return to be 0, was %d\n", ret ); 686 eventfd_write( this->idle_wctx.evfd, val ); 687 693 688 /* paranoid */ verify( ! __preemption_enabled() ); 694 689 }
Note:
See TracChangeset
for help on using the changeset viewer.