Comment on Correctly implementing a spinlock in Modern C++parentComments−rigtorp5yWell isn't that just a normal lock/mutex of the "lightweight" type (only enter kernel on contention)?You cannot use that in non-preemptible context.
Comments
Well isn't that just a normal lock/mutex of the "lightweight" type (only enter kernel on contention)?
You cannot use that in non-preemptible context.