PoolStack

Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Properties

empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
top
ManagedPool top [@property getter]

returns the most recent unfrozen pool, null if none available

Static functions

disable
void disable()
Undocumented in source. Be warned that the author may not have intended to support it.
enable
void enable()
Undocumented in source. Be warned that the author may not have intended to support it.
freeze
size_t freeze(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
pop
void pop()

destroy the most recent pool and free all its resources, calling destructors if you're in a fiber, search for stack top in the fiber stack or the fiber freezer and destroy it. otherwise, search in the thread stack or the thread freezer and destroy it.

push
void push()

creates a new pool as the fiber stack top or the thread stack top

unfreeze
size_t unfreeze(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta