Differences From Artifact [4c024af6ca]:
- File
src/atomic_x86.h
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 9203) [annotate] [blame] [check-ins using]
To Artifact [3c92b1ba0d]:
- File src/atomic_x86.h — part of check-in [48ffea9a9a] at 2017-04-13 13:19:02 on branch trunk — Clean up memory barriers (user: js, size: 8945) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
477 478 479 480 481 482 483 | : "cc" ); return r; } static OF_INLINE void | | | | < < | | < < < < < < < < < < < < < < < < < < | 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 | : "cc" ); return r; } static OF_INLINE void of_memory_barrier(void) { __asm__ __volatile__ ( "mfence" ::: "memory" ); } static OF_INLINE void of_memory_barrier_acquire(void) { __asm__ __volatile__ ("" ::: "memory"); } static OF_INLINE void of_memory_barrier_release(void) { __asm__ __volatile__ ("" ::: "memory"); } OF_ASSUME_NONNULL_END |