Crate llkv_threading

Crate llkv_threading 

Source
Expand description

Helper utilities for Rayon thread-pool management shared across LLKV crates.

Centralizing Rayon configuration ensures callers reuse a single bounded pool. This avoids opportunistic global overrides and keeps worker naming consistent. The helpers below expose a with_thread_pool entry point and a cheap accessor for the current thread count.

Functionsยง

current_thread_count
Return the number of worker threads currently active in the shared pool.
with_thread_pool
Execute the provided closure within the shared Rayon thread pool.