drone-core 0.7.0

Drone is a Hard Real-Time Operating System Framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thread::prelude::*;

/// A set of thread tokens.
pub trait ThreadTokens<T: Thread> {
  /// 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.
  unsafe fn new() -> Self;
}