Ignore:
Timestamp:
Sep 21, 2022, 11:02:15 AM (21 months ago)
Author:
Thierry Delisle <tdelisle@…>
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.
Message:

Merge branch 'master' into pthread-emulation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/defs.hfa

    r428adbc r7f6a7c9  
    2525#define likely(x)   __builtin_expect(!!(x), 1)
    2626#define unlikely(x) __builtin_expect(!!(x), 0)
    27 #define thread_local _Thread_local
    2827
    2928typedef void (*fptr_t)();
     
    3837#endif
    3938
     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
    4049#define libcfa_public __attribute__((visibility("default")))
     50#define libcfa_nopreempt __attribute__((section("cfatext_nopreempt"))) __attribute__((__noinline__)) ATTRIBUTE_NOCLONE
     51
     52struct __cfa_nopreempt_region {
     53        void * start;
     54        void * stop;
     55};
    4156
    4257#ifdef __cforall
Note: See TracChangeset for help on using the changeset viewer.