Changeset 171ca0d
- Timestamp:
- May 6, 2020, 2:04:01 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 6ec07e5, 87e0b015
- Parents:
- c66f6cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io.cfa
rc66f6cb r171ca0d 827 827 bool has_user_level_blocking( fptr_t func ) { 828 828 #if defined(HAVE_LINUX_IO_URING_H) 829 if( /*func == (fptr_t)preadv2 || */830 func == (fptr_t)cfa_preadv2 )831 #define _CFA_IO_FEATURE_IORING_OP_READV ,832 return IS_DEFINED(IORING_OP_READV);833 834 829 #if defined(HAVE_PREADV2) 830 if( /*func == (fptr_t)preadv2 || */ 831 func == (fptr_t)cfa_preadv2 ) 832 #define _CFA_IO_FEATURE_IORING_OP_READV , 833 return IS_DEFINED(IORING_OP_READV); 834 #endif 835 836 #if defined(HAVE_PWRITEV2) 835 837 if( /*func == (fptr_t)pwritev2 || */ 836 838 func == (fptr_t)cfa_pwritev2 ) … … 839 841 #endif 840 842 841 #if defined(HAVE_PWRITEV2) 842 if( /*func == (fptr_t)fsync || */ 843 func == (fptr_t)cfa_fsync ) 844 #define _CFA_IO_FEATURE_IORING_OP_FSYNC , 845 return IS_DEFINED(IORING_OP_FSYNC); 846 #endif 843 if( /*func == (fptr_t)fsync || */ 844 func == (fptr_t)cfa_fsync ) 845 #define _CFA_IO_FEATURE_IORING_OP_FSYNC , 846 return IS_DEFINED(IORING_OP_FSYNC); 847 847 848 848 if( /*func == (fptr_t)ync_file_range || */
Note: See TracChangeset
for help on using the changeset viewer.