Changeset 3814957


Ignore:
Timestamp:
Jun 15, 2021, 9:07:25 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
1d61b67, 32318de, ed395761
Parents:
3489ea6
Message:

Commented out broken code

Location:
libcfa/src/concurrency
Files:
2 edited

Legend:

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

    r3489ea6 r3814957  
    141141#elif defined(CFA_HAVE_LINUX_RSEQ_H)
    142142        extern "Cforall" {
    143                 thread_local volatile struct rseq __cfaabi_rseq;
     143                // thread_local volatile struct rseq __cfaabi_rseq;
    144144        }
    145145#else
  • libcfa/src/concurrency/kernel_private.hfa

    r3489ea6 r3814957  
    3030        #include <rseq/rseq.h>
    3131#elif defined(CFA_HAVE_LINUX_RSEQ_H)
    32         #include <linux/rseq.h>
     32        // #include <linux/rseq.h>
    3333#else
    3434        #ifndef _GNU_SOURCE
     
    6060#elif defined(CFA_HAVE_LINUX_RSEQ_H)
    6161        extern "Cforall" {
    62                 extern __attribute__((aligned(128))) thread_local volatile struct rseq __cfaabi_rseq;
     62                // extern __attribute__((aligned(128))) thread_local volatile struct rseq __cfaabi_rseq;
    6363        }
    6464#else
     
    7171        return rseq_current_cpu_raw();
    7272#elif defined(CFA_HAVE_LINUX_RSEQ_H)
    73         return __cfaabi_rseq.cpu_id;
     73        // return __cfaabi_rseq.cpu_id;
    7474#else
    7575        return sched_getcpu();
Note: See TracChangeset for help on using the changeset viewer.