Differences From Artifact [7b34c9bf7f]:
- File src/OFOnce.m — part of check-in [35de667566] at 2021-04-18 20:51:25 on branch new-naming-convention — Rename everything in several smaller files (user: js, size: 1617) [annotate] [blame] [check-ins using]
To Artifact [ac90a9eaf1]:
- File src/OFOnce.m — part of check-in [1cdf56dc9e] at 2021-04-18 23:41:04 on branch new-naming-convention — of_memory_barrier -> OFMemoryBarrier (user: js, size: 1615) [annotate] [blame] [check-ins using] [more...]
︙ | |||
41 42 43 44 45 46 47 | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | - + | /* Avoid atomic operations in case it's already done. */ if (*control == 2) return; if (OFAtomicIntCompareAndSwap(control, 0, 1)) { func(); |
︙ |