INNER CODE UNIT · Rust
get_private_context
mratsim/constantine · constantine-rust/constantine-core/src/lib.rs:59
pub fn get_private_context(&self) -> *mut ctt_threadpool {
self.ctx
}
}
impl Drop for Threadpool {
#[inline(always)]
fn drop(&mut self) {
unsafe { ctt_threadpool_shutdown(self.ctx) }
}
}