Changes in libcfa/src/bits/defs.hfa [454f478:8b73526]
- File:
-
- 1 edited
-
libcfa/src/bits/defs.hfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/defs.hfa
r454f478 r8b73526 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // defs.hfa -- Commen macros, functions and typedefs 8 // Most files depend on them and they are always useful to have. 9 // 10 // *** Must not contain code specific to libcfathread *** 7 // defs.hfa -- 11 8 // 12 9 // Author : Thierry Delisle … … 65 62 #endif 66 63 } 67 68 // pause to prevent excess processor bus usage69 #if defined( __i386 ) || defined( __x86_64 )70 #define Pause() __asm__ __volatile__ ( "pause" : : : )71 #elif defined( __ARM_ARCH )72 #define Pause() __asm__ __volatile__ ( "YIELD" : : : )73 #else74 #error unsupported architecture75 #endif
Note:
See TracChangeset
for help on using the changeset viewer.