Changes in libcfa/src/bits/defs.hfa [8a13c47:2026bb6]
- File:
-
- 1 edited
-
libcfa/src/bits/defs.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/defs.hfa
r8a13c47 r2026bb6 10 10 // Created On : Thu Nov 9 13:24:10 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T ue Jan 28 22:38:27 202013 // Update Count : 912 // Last Modified On : Thu Feb 8 16:22:41 2018 13 // Update Count : 8 14 14 // 15 15 … … 34 34 35 35 #ifdef __cforall 36 void abort( const char fmt[], ... ) __attribute__ (( format(printf, 1, 2), __nothrow__, __leaf__, __noreturn__ )); 37 void abort( bool signalAbort, const char fmt[], ... ) __attribute__ (( format(printf, 2, 3), __nothrow__, __leaf__, __noreturn__ )); 36 void abort ( const char fmt[], ... ) __attribute__ (( format(printf, 1, 2), __nothrow__, __leaf__, __noreturn__ )); 38 37 extern "C" { 39 38 #endif … … 48 47 #define OPTIONAL_THREAD __attribute__((weak)) 49 48 #endif 50 51 static inline long long rdtscl(void) {52 unsigned int lo, hi;53 __asm__ __volatile__ ("rdtsc" : "=a"(lo), "=d"(hi));54 return ( (unsigned long long)lo)|( ((unsigned long long)hi)<<32 );55 }
Note:
See TracChangeset
for help on using the changeset viewer.