Changes in benchmark/basic/tls_fetch_add.c [1bcbf02:525b5ef]
- File:
-
- 1 edited
-
benchmark/basic/tls_fetch_add.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/basic/tls_fetch_add.c
r1bcbf02 r525b5ef 7 7 // thread_local Boolean. This means the entire protocol is just to "mov" instructions making it extremely cheap. 8 8 9 __thread volatile bool value; 9 #define thread_local _Thread_local 10 11 thread_local volatile bool value; 10 12 11 13 void __attribute__((noinline)) do_call() {
Note:
See TracChangeset
for help on using the changeset viewer.