educative.io

Educative

https://www.educative.io/courses/c-sharp-concurrency-for-senior-engineering-interviews/gx6P4xjL4wG

PingPongInterlockedExample I am not able to get how it works. Both the threads get the same value and set it to same value. There is no yield or signal to the other thread. Can you please explain a bit more.