Changeset 3814957 for libcfa/src/concurrency
- Timestamp:
- Jun 15, 2021, 9:07:25 PM (3 years ago)
- 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
- Location:
- libcfa/src/concurrency
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/startup.cfa
r3489ea6 r3814957 141 141 #elif defined(CFA_HAVE_LINUX_RSEQ_H) 142 142 extern "Cforall" { 143 thread_local volatile struct rseq __cfaabi_rseq;143 // thread_local volatile struct rseq __cfaabi_rseq; 144 144 } 145 145 #else -
libcfa/src/concurrency/kernel_private.hfa
r3489ea6 r3814957 30 30 #include <rseq/rseq.h> 31 31 #elif defined(CFA_HAVE_LINUX_RSEQ_H) 32 #include <linux/rseq.h>32 // #include <linux/rseq.h> 33 33 #else 34 34 #ifndef _GNU_SOURCE … … 60 60 #elif defined(CFA_HAVE_LINUX_RSEQ_H) 61 61 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; 63 63 } 64 64 #else … … 71 71 return rseq_current_cpu_raw(); 72 72 #elif defined(CFA_HAVE_LINUX_RSEQ_H) 73 return __cfaabi_rseq.cpu_id;73 // return __cfaabi_rseq.cpu_id; 74 74 #else 75 75 return sched_getcpu();
Note: See TracChangeset
for help on using the changeset viewer.