pub type ThreadedCc<T> = RawCc<T, ThreadedObjectSpace>;
Expand description

A multi-thread reference-counting pointer that integrates with cyclic garbage collection.

ThreadedCc is similar to Cc. It works with multi-thread but is significantly slower than Cc.

To construct a ThreadedCc, use ThreadedObjectSpace::create.

Implementations

Immutably borrows the wrapped value.

The borrow lasts until the returned value exits scope.

Trait Implementations

Define how to visit values referred by this value. Read more

Whether this type should be tracked by the collector. Read more

Define how to visit values referred by this value. Read more

Whether this type should be tracked by the collector. Read more

Define how to visit values referred by this value. Read more

Whether this type should be tracked by the collector. Read more

Define how to visit values referred by this value. Read more

Whether this type should be tracked by the collector. Read more