The OpenD Programming Language

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 std.regionallocator.GCScan for details.)

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.

  1. bool scanThreadLocalStack()
  2. bool scanThreadLocalStack(bool shouldScan)
    version(noscid)
    @property @safe
    bool
    scanThreadLocalStack
    ()

Meta