Ignore:
Timestamp:
Mar 21, 2022, 1:28:59 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
dbe2533
Parents:
98d1b90
Message:

Added spin lock to io drain.
last step before completion fairness

File:
1 edited

Legend:

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

    r98d1b90 r4ecc35a  
    136136static void mark_awake(__cluster_proc_list & idles, processor & proc);
    137137
    138 extern bool __cfa_io_drain( processor * );
     138extern bool __cfa_io_drain( $io_context * );
    139139extern bool __cfa_io_flush( processor *, int min_comp );
    140140static inline bool __maybe_io_drain( processor * );
     
    839839                if(head == tail) return false;
    840840                ready_schedule_lock();
    841                 ret = __cfa_io_drain( proc );
     841                ret = __cfa_io_drain( ctx );
    842842                ready_schedule_unlock();
    843843        #endif
Note: See TracChangeset for help on using the changeset viewer.