Changeset 7f6a7c9 for libcfa/src/bits/defs.hfa
- Timestamp:
- Sep 21, 2022, 11:02:15 AM (21 months ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- 95dab9e
- Parents:
- 428adbc (diff), 0bd46fd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/defs.hfa
r428adbc r7f6a7c9 25 25 #define likely(x) __builtin_expect(!!(x), 1) 26 26 #define unlikely(x) __builtin_expect(!!(x), 0) 27 #define thread_local _Thread_local28 27 29 28 typedef void (*fptr_t)(); … … 38 37 #endif 39 38 39 40 #if defined(__has_attribute) 41 #if !__has_attribute(__noclone__) 42 #define ATTRIBUTE_NOCLONE 43 #endif 44 #endif 45 #ifndef ATTRIBUTE_NOCLONE 46 #define ATTRIBUTE_NOCLONE __attribute__((__noclone__)) 47 #endif 48 40 49 #define libcfa_public __attribute__((visibility("default"))) 50 #define libcfa_nopreempt __attribute__((section("cfatext_nopreempt"))) __attribute__((__noinline__)) ATTRIBUTE_NOCLONE 51 52 struct __cfa_nopreempt_region { 53 void * start; 54 void * stop; 55 }; 41 56 42 57 #ifdef __cforall
Note: See TracChangeset
for help on using the changeset viewer.