Re:A viable solution for Python concurrency
by pansa2 on Friday October 15, 2021 @10:25PM
(#28885066)
> So if the owner needs to check the shared ref count every time it changes the count of the non-atomic local count, isn't that basically all the negatives of a single shared atomic counter?
I think the owner only needs to check the shared count when it changes the local count to zero, not every time it changes the local count.
I think the owner only needs to check the shared count when it changes the local count to zero, not every time it changes the local count.