Function scanThreadLocalStack
These properties determine whether the default thread-local
RegionAllocatorStack
instance is scanned by the garbage collector.
The default is no. In most cases, scanning a stack this long-lived is not
recommended, as it will cause too many false pointers. (See regionallocator, GCScan for details.)
bool scanThreadLocalStack
() nothrow @property @safe;
bool scanThreadLocalStack
(
bool shouldScan
) @property @safe;
The setter is only effective before the global function
newRegionAllocator
has been called for the first time in the current
thread. Attempts to set this property after the first call to this
function from the current thread throw a RegionAllocatorException
.