Trait drone_core::thread::ThreadTokens [] [src]

pub trait ThreadTokens<T: Thread> {
    unsafe fn new() -> Self;
}

A set of thread tokens.

Required Methods

Creates a new set of thread tokens.

Safety

  • Must be called no more than once.
  • Must be called at the very beginning of the program flow.

Implementors