each Label is an atomic action.
but in general programming language, each _expression_/statement concurrency with other thread.
so, how to express fine-grain atomic action unit in PlusCal ?
for example in a CAS style while loop. each statement/_expression_ is concurrency with other thread:
while(!lock.get() && lock.compareAndSet(false, true)) {
// do action 1
// do action 2
// ...
}
I want each one is atomic (concurrency unit).
add a label to each statement/_expression_ will be very tedious.
can any cleaner manner ?