Ignore:
Timestamp:
Nov 29, 2021, 4:05:43 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
d3605f8
Parents:
8da377d
Message:

Kernel now waits for eventfd read to flush before terminating.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel.cfa

    r8da377d r3bb4f85  
    381381        }
    382382
     383        for(int i = 0; !available(future); i++) {
     384                if(i > 1000) __cfaabi_dbg_write( "ERROR: kernel has bin spinning on a flush after exit loop.\n", 60);
     385                __cfa_io_flush( this, 1 );
     386        }
     387
    383388        __cfa_io_stop( this );
    384389
Note: See TracChangeset for help on using the changeset viewer.