Instance Property

usesStrongWriteBarrier

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

Declaration

var usesStrongWriteBarrier: 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 usesWeakReadAndWriteBarriers: Bool

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

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software