Expand description
Thread-local pool storage for avoiding explicit pool passing
This module provides thread-local storage for pools, allowing ColumnData operations to access pools without needing to pass them through the entire call stack.
Functionsยง
- clear_
thread_ pools - Clear thread-local pools for the current thread
- get_
thread_ pools - Get a clone of the thread-local pools instance Returns None if not initialized
- has_
thread_ pools - Check if thread-local pools are initialized
- set_
thread_ pools - Set the thread-local pools instance for the current thread
- thread_
pools - Get the thread-local pools instance or panic with helpful message
- with_
temporary_ pools - Execute a closure with temporary thread-local pools The previous pools state is restored after the closure completes
- with_
thread_ pools - Execute a function with access to thread-local pools