Changeset 43784ac
- Timestamp:
- Jun 15, 2021, 5:00:28 PM (2 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 5e2ed05
- Parents:
- 45fde9f
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/io_uring.h
r45fde9f r43784ac 1 1 extern "C" { 2 #ifndef _GNU_SOURCE /* See feature_test_macros(7) */3 #define _GNU_SOURCE /* See feature_test_macros(7) */4 #endif5 2 #include <errno.h> 6 3 #include <stdio.h> -
libcfa/prelude/defines.hfa.in
r45fde9f r43784ac 171 171 #undef CFA_HAVE_LINUX_IO_URING_H 172 172 173 /* Defined if librseq support is present when compiling libcfathread. */ 174 #undef CFA_HAVE_LINUX_LIBRSEQ 175 176 /* Defined if rseq support is present when compiling libcfathread. */ 177 #undef CFA_HAVE_LINUX_RSEQ_H 178 173 179 /* Defined if openat2 support is present when compiling libcfathread. */ 174 180 #undef CFA_HAVE_OPENAT2 … … 205 211 #undef HAVE_LINUX_IO_URING_H 206 212 213 /* Define to 1 if you have the <linux/rseq.h> header file. */ 214 #undef HAVE_LINUX_RSEQ_H 215 207 216 /* Define to 1 if you have the <memory.h> header file. */ 208 217 #undef HAVE_MEMORY_H -
libcfa/src/bits/signal.hfa
r45fde9f r43784ac 20 20 21 21 #include <errno.h> 22 #define __USE_GNU23 22 #include <signal.h> 24 #undef __USE_GNU25 23 #include <stdlib.h> 26 24 #include <string.h> -
libcfa/src/concurrency/coroutine.cfa
r45fde9f r43784ac 15 15 16 16 #define __cforall_thread__ 17 #define _GNU_SOURCE 17 18 18 19 #include "coroutine.hfa" -
libcfa/src/concurrency/io.cfa
r45fde9f r43784ac 15 15 16 16 #define __cforall_thread__ 17 #define _GNU_SOURCE 17 18 18 19 #if defined(__CFA_DEBUG__) … … 23 24 24 25 #if defined(CFA_HAVE_LINUX_IO_URING_H) 25 #define _GNU_SOURCE /* See feature_test_macros(7) */26 26 #include <errno.h> 27 27 #include <signal.h> -
libcfa/src/concurrency/io/setup.cfa
r45fde9f r43784ac 15 15 16 16 #define __cforall_thread__ 17 #define _GNU_SOURCE /* See feature_test_macros(7) */17 #define _GNU_SOURCE 18 18 19 19 #if defined(__CFA_DEBUG__) -
libcfa/src/concurrency/kernel.cfa
r45fde9f r43784ac 15 15 16 16 #define __cforall_thread__ 17 #define _GNU_SOURCE 18 17 19 // #define __CFA_DEBUG_PRINT_RUNTIME_CORE__ 18 20 -
libcfa/src/concurrency/kernel/startup.cfa
r45fde9f r43784ac 15 15 16 16 #define __cforall_thread__ 17 #define _GNU_SOURCE 17 18 18 19 // C Includes … … 336 337 register_tls( proc ); 337 338 339 #if defined(CFA_HAVE_LINUX_LIBRSEQ) 340 rseq_register_current_thread(); 341 #endif 342 338 343 // SKULLDUGGERY: We want to create a context for the processor coroutine 339 344 // which is needed for the 2-step context switch. However, there is no reason -
libcfa/src/concurrency/locks.cfa
r45fde9f r43784ac 16 16 17 17 #define __cforall_thread__ 18 #define _GNU_SOURCE 18 19 19 20 #include "locks.hfa" -
libcfa/src/concurrency/monitor.cfa
r45fde9f r43784ac 15 15 16 16 #define __cforall_thread__ 17 #define _GNU_SOURCE 17 18 18 19 #include "monitor.hfa" -
libcfa/src/concurrency/mutex.cfa
r45fde9f r43784ac 17 17 18 18 #define __cforall_thread__ 19 #define _GNU_SOURCE 19 20 20 21 #include "mutex.hfa" -
libcfa/src/concurrency/preemption.cfa
r45fde9f r43784ac 15 15 16 16 #define __cforall_thread__ 17 #define _GNU_SOURCE 18 17 19 // #define __CFA_DEBUG_PRINT_PREEMPTION__ 18 20 -
libcfa/src/concurrency/ready_queue.cfa
r45fde9f r43784ac 15 15 16 16 #define __cforall_thread__ 17 #define _GNU_SOURCE 18 17 19 // #define __CFA_DEBUG_PRINT_READY_QUEUE__ 18 20 … … 24 26 #include "kernel_private.hfa" 25 27 26 #define _GNU_SOURCE27 28 #include "stdlib.hfa" 28 29 #include "math.hfa" -
libcfa/src/concurrency/thread.cfa
r45fde9f r43784ac 15 15 16 16 #define __cforall_thread__ 17 #define _GNU_SOURCE 17 18 18 19 #include "thread.hfa"
Note: See TracChangeset
for help on using the changeset viewer.