I’m sorry I’m trying to understand how this serial queue code will solve the 2 threads issue
if the problem is all about that the second thread has started one clock cycle before the first thread, then I could imagine that these are the tasks that will be in the threadSafeCountQueue
and that will result in wrong value too