aballano
10/15/2019, 12:42 PMfactory kotlinx.atomicfu.AtomicFU::atomic is used outside of constructor or class initialisation
I'm just using them in local functions mainly, is this not permitted? if so, is there an alternative usage to do so? Thanks in advance! cc @elizarovelizarov
10/15/2019, 7:59 PMaballano
10/15/2019, 8:01 PMsimon.vergauwen
10/15/2019, 8:03 PMelizarov
10/15/2019, 8:08 PMAtomicXxxFieldUpdater
(hence the name AtomicFU
). This is more efficient (no boxes for atomics)simon.vergauwen
10/15/2019, 8:09 PMelizarov
10/15/2019, 8:10 PMsimon.vergauwen
10/15/2019, 8:10 PMelizarov
10/15/2019, 8:11 PMaballano
10/15/2019, 8:23 PM