Ignore:
Timestamp:
Nov 22, 2021, 2:18:56 PM (10 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
2514f68b
Parents:
7ef162b2
Message:

No longer define kernel_read when not needed.

File:
1 edited

Legend:

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

    r7ef162b2 r6ddef36  
    135135static inline bool __maybe_io_drain( processor * );
    136136
    137 extern bool __kernel_read(processor * proc, io_future_t & future, char buf[], int fd);
     137#if defined(IO_URING_IDLE) && defined(CFA_HAVE_LINUX_IO_URING_H)
     138        extern bool __kernel_read(processor * proc, io_future_t & future, char buf[], int fd);
     139#endif
    138140
    139141extern void __disable_interrupts_hard();
Note: See TracChangeset for help on using the changeset viewer.