[][src]Function ccl::stack::aquire_guard

pub fn aquire_guard() -> Guard

Aquire a guard. These are needed when accessing a stack. Since aquiring a guard has a significant cost, you may wish to aquire a guard once and pass it around when doing bulk operations. For most use cases you will not need this.

Please note that no memory consumed by objects removed after the guard was aquired can be reclaimed until the guard has been dropped.