Ignore:
File:
1 edited

Legend:

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

    ref94ae7 rab5baab  
    1515
    1616#define __cforall_thread__
    17 #define _GNU_SOURCE
    1817
    1918// C Includes
    2019#include <errno.h>              // errno
    21 #include <signal.h>
    2220#include <string.h>             // strerror
    2321#include <unistd.h>             // sysconf
    24 
    2522extern "C" {
    2623      #include <limits.h>       // PTHREAD_STACK_MIN
    27         #include <unistd.h>       // syscall
    2824        #include <sys/eventfd.h>  // eventfd
    2925      #include <sys/mman.h>     // mprotect
     
    140136};
    141137
    142 #if   defined(CFA_HAVE_LINUX_LIBRSEQ)
    143         // No data needed
    144 #elif defined(CFA_HAVE_LINUX_RSEQ_H)
    145         extern "Cforall" {
    146                 __attribute__((aligned(128))) thread_local volatile struct rseq __cfaabi_rseq @= {
    147                         .cpu_id : RSEQ_CPU_ID_UNINITIALIZED,
    148                 };
    149         }
    150 #else
    151         // No data needed
    152 #endif
    153 
    154138//-----------------------------------------------------------------------------
    155139// Struct to steal stack
     
    484468        self_mon_p = &self_mon;
    485469        link.next = 0p;
    486         link.ts   = -1llu;
     470        link.ts   = 0;
    487471        preferred = -1u;
    488472        last_proc = 0p;
     
    513497        this.rdq.id  = -1u;
    514498        this.rdq.target = -1u;
    515         this.rdq.last = -1u;
    516499        this.rdq.cutoff = 0ull;
    517500        do_terminate = false;
Note: See TracChangeset for help on using the changeset viewer.