Changeset ace2e92
- Timestamp:
- Sep 21, 2020, 4:43:41 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 08f3ad3, fe94e708
- Parents:
- 0e52f14
- Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/locks.hfa
r0e52f14 race2e92 357 357 struct oneshot * expected = this.ptr; 358 358 // was this abandoned? 359 if( expected == 3p ) { free( &this ); return false; } 359 #if defined(__GNUC__) && __GNUC__ >= 7 360 #pragma GCC diagnostic push 361 #pragma GCC diagnostic ignored "-Wfree-nonheap-object" 362 #endif 363 if( expected == 3p ) { free( &this ); return false; } 364 #if defined(__GNUC__) && __GNUC__ >= 7 365 #pragma GCC diagnostic pop 366 #endif 360 367 361 368 /* paranoid */ verify( expected != 1p ); // Future is already fulfilled, should not happen -
libcfa/src/concurrency/io/call.cfa.in
r0e52f14 race2e92 109 109 #include <sys/syscall.h> 110 110 111 #if defined( HAVE_PREADV2)111 #if defined(CFA_HAVE_PREADV2) 112 112 struct iovec; 113 113 extern ssize_t preadv2 (int fd, const struct iovec *iov, int iovcnt, off_t offset, int flags); 114 114 #endif 115 #if defined( HAVE_PWRITEV2)115 #if defined(CFA_HAVE_PWRITEV2) 116 116 struct iovec; 117 117 extern ssize_t pwritev2(int fd, const struct iovec *iov, int iovcnt, off_t offset, int flags);
Note: See TracChangeset
for help on using the changeset viewer.