Instance Property

usesWeakReadAndWriteBarriers

Specifies whether, in a garbage collected environment, pointers should use weak read and write barriers.

Declaration

var usesWeakReadAndWriteBarriers: Bool { get set }

Discussion

If you use garbage collection, read and write barrier functions must be used when pointers are from memory scanned by the collector.

See Also

Memory Configuration

var usesStrongWriteBarrier: Bool

Specifies whether, in a garbage collected environment, pointers should be assigned using a strong write barrier.

Deprecated