Changeset 7f6a7c9 for benchmark/basic/tls_fetch_add.c
- Timestamp:
- Sep 21, 2022, 11:02:15 AM (3 years 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
-
benchmark/basic/tls_fetch_add.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/basic/tls_fetch_add.c
r428adbc r7f6a7c9 7 7 // thread_local Boolean. This means the entire protocol is just to "mov" instructions making it extremely cheap. 8 8 9 #define thread_local _Thread_local 10 11 thread_local volatile bool value; 9 __thread volatile bool value; 12 10 13 11 void __attribute__((noinline)) do_call() {
Note:
See TracChangeset
for help on using the changeset viewer.