Changes in / [5e2ed05:27c9767]


Ignore:
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/io_uring.h

    r5e2ed05 r27c9767  
    11extern "C" {
     2        #ifndef _GNU_SOURCE         /* See feature_test_macros(7) */
     3        #define _GNU_SOURCE         /* See feature_test_macros(7) */
     4        #endif
    25        #include <errno.h>
    36        #include <stdio.h>
  • libcfa/prelude/defines.hfa.in

    r5e2ed05 r27c9767  
    171171#undef CFA_HAVE_LINUX_IO_URING_H
    172172
    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 
    179173/* Defined if openat2 support is present when compiling libcfathread. */
    180174#undef CFA_HAVE_OPENAT2
     
    211205#undef HAVE_LINUX_IO_URING_H
    212206
    213 /* Define to 1 if you have the <linux/rseq.h> header file. */
    214 #undef HAVE_LINUX_RSEQ_H
    215 
    216207/* Define to 1 if you have the <memory.h> header file. */
    217208#undef HAVE_MEMORY_H
  • libcfa/src/bits/signal.hfa

    r5e2ed05 r27c9767  
    2020
    2121#include <errno.h>
     22#define __USE_GNU
    2223#include <signal.h>
     24#undef __USE_GNU
    2325#include <stdlib.h>
    2426#include <string.h>
  • libcfa/src/concurrency/coroutine.cfa

    r5e2ed05 r27c9767  
    1515
    1616#define __cforall_thread__
    17 #define _GNU_SOURCE
    1817
    1918#include "coroutine.hfa"
  • libcfa/src/concurrency/io.cfa

    r5e2ed05 r27c9767  
    1515
    1616#define __cforall_thread__
    17 #define _GNU_SOURCE
    1817
    1918#if defined(__CFA_DEBUG__)
     
    2423
    2524#if defined(CFA_HAVE_LINUX_IO_URING_H)
     25        #define _GNU_SOURCE         /* See feature_test_macros(7) */
    2626        #include <errno.h>
    2727        #include <signal.h>
  • libcfa/src/concurrency/io/setup.cfa

    r5e2ed05 r27c9767  
    1515
    1616#define __cforall_thread__
    17 #define _GNU_SOURCE
     17#define _GNU_SOURCE         /* See feature_test_macros(7) */
    1818
    1919#if defined(__CFA_DEBUG__)
  • libcfa/src/concurrency/kernel.cfa

    r5e2ed05 r27c9767  
    1515
    1616#define __cforall_thread__
    17 #define _GNU_SOURCE
    18 
    1917// #define __CFA_DEBUG_PRINT_RUNTIME_CORE__
    2018
  • libcfa/src/concurrency/kernel/startup.cfa

    r5e2ed05 r27c9767  
    1515
    1616#define __cforall_thread__
    17 #define _GNU_SOURCE
    1817
    1918// C Includes
     
    337336        register_tls( proc );
    338337
    339         #if defined(CFA_HAVE_LINUX_LIBRSEQ)
    340                 rseq_register_current_thread();
    341         #endif
    342 
    343338        // SKULLDUGGERY: We want to create a context for the processor coroutine
    344339        // which is needed for the 2-step context switch. However, there is no reason
  • libcfa/src/concurrency/locks.cfa

    r5e2ed05 r27c9767  
    1616
    1717#define __cforall_thread__
    18 #define _GNU_SOURCE
    1918
    2019#include "locks.hfa"
  • libcfa/src/concurrency/monitor.cfa

    r5e2ed05 r27c9767  
    1515
    1616#define __cforall_thread__
    17 #define _GNU_SOURCE
    1817
    1918#include "monitor.hfa"
  • libcfa/src/concurrency/mutex.cfa

    r5e2ed05 r27c9767  
    1717
    1818#define __cforall_thread__
    19 #define _GNU_SOURCE
    2019
    2120#include "mutex.hfa"
  • libcfa/src/concurrency/preemption.cfa

    r5e2ed05 r27c9767  
    1515
    1616#define __cforall_thread__
    17 #define _GNU_SOURCE
    18 
    1917// #define __CFA_DEBUG_PRINT_PREEMPTION__
    2018
  • libcfa/src/concurrency/ready_queue.cfa

    r5e2ed05 r27c9767  
    1515
    1616#define __cforall_thread__
    17 #define _GNU_SOURCE
    18 
    1917// #define __CFA_DEBUG_PRINT_READY_QUEUE__
    2018
     
    2624#include "kernel_private.hfa"
    2725
     26#define _GNU_SOURCE
    2827#include "stdlib.hfa"
    2928#include "math.hfa"
  • libcfa/src/concurrency/thread.cfa

    r5e2ed05 r27c9767  
    1515
    1616#define __cforall_thread__
    17 #define _GNU_SOURCE
    1817
    1918#include "thread.hfa"
Note: See TracChangeset for help on using the changeset viewer.