Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Strong thread safety w/o differential reference counting

8 views
Skip to first unread message

Marcel Mueller

unread,
Apr 4, 2021, 5:52:31 AM4/4/21
to
Hi

the classical solution for strong thread safety is differential
reference counting. This has the disadvantage that any reference counted
object (or its management object) needs to be aware of the strong thread
safety requirement and provide a second counter for the strong references.
So it is not possible to implement strong thread safety on top of
existing reference counted objects. Furthermore the existence of only
one strongly thread safe pointer causes a runtime overhead on /any/
reference counted object (CPU and memeory).

I am seeking for a solution to implement strong thread safety on top of
an existing reference counted object which provides only /one/ counter.
Has anyone heard of something like that? Has it an name?


Marcel
0 new messages