Is there an equivalent of std::atomic
in Python or the only way of having this behavior if by using a lock from threading.Lock()
?
Because as I see it, the Look
is exactly like std::mutex
, so is there anything more similar to std::atomic
?
Is there an equivalent of std::atomic
in Python or the only way of having this behavior if by using a lock from threading.Lock()
?
Because as I see it, the Look
is exactly like std::mutex
, so is there anything more similar to std::atomic
?