[−][src]Function blocking_permit::register_dispatch_pool
pub fn register_dispatch_pool(pool: DispatchPool) -> Option<DispatchPool>
Register a DispatchPool
on the calling thread.
Any prior instance is returned. This consumes the pool by value, but it can be cloned beforehand to preserve an owned handle.