I have already tried many different ways, including AtomicInteger from java and AtomicInt from the atomicfu library. In addition, I used ReentrantLock
Asked
Active
Viewed 20 times
0
-
And what exactly in the things you tried didn't suit your needs? – Joffrey Jul 05 '21 at 08:00