- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
rdab09ad r1eb239e4 532 532 unsigned total = this.total; 533 533 processor * proc = &this.list`first; 534 // Thread fence is unnecessary, but gcc-8 and older incorrectly reorder code without it535 __atomic_thread_fence(__ATOMIC_SEQ_CST);536 534 if(l != __atomic_load_n(&this.lock, __ATOMIC_SEQ_CST)) { Pause(); continue; } 537 535 return [idle, total, proc];
Note:
See TracChangeset
for help on using the changeset viewer.