News for hackers. Stuff that matters.
Re:A viable solution for Python concurrency by masklinn on Saturday October 16, 2021 @05:23AM (#28886606)
> So if the owner needs to check the shared ref count every time it changes the count of the non-atomic local count

It does not, it only needs to check the shared refcount when the local count reaches 0, to decide whether it can free the object immediately or whether it should mark it as "unowned".

There are no comments on this comment yet.