Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel_private.hfa

    ra633f6f rd3605f8  
    3939}
    4040
     41// Defines whether or not we *want* to use io_uring_enter as the idle_sleep blocking call
     42#define CFA_WANT_IO_URING_IDLE
     43
     44// Defines whether or not we *can* use io_uring_enter as the idle_sleep blocking call
     45#if defined(CFA_WANT_IO_URING_IDLE) && defined(CFA_HAVE_LINUX_IO_URING_H)
     46        #if defined(CFA_HAVE_IORING_OP_READ) || (defined(CFA_HAVE_READV) && defined(CFA_HAVE_IORING_OP_READV))
     47                #define CFA_WITH_IO_URING_IDLE
     48        #endif
     49#endif
     50
    4151//-----------------------------------------------------------------------------
    4252// Scheduler
     
    149159        __atomic_store_n(ll, (bool)false, __ATOMIC_RELEASE);
    150160}
    151 
    152 
    153 
    154 
    155161
    156162//-----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.