2 ms·
Well actually, there may be other ways, for example it may be possible to detect conflicts! Run the code in separate threads, and then at the end of the routin
by geocar 17y ago
Well actually, there may be other ways, for example it may be possible to detect conflicts!
Run the code in separate threads, and then at the end of the routine (or at synchronization points) check for a conflict. If there was a conflict, re-run the code in-order.