Re-exports§
pub use atomic_scheduler::AtomicScheduler;
pub use atomic_scheduler::ATOMIC_SCHEDULER;
pub use error::ThreadError;
pub use error::ThreadResult;
pub use platform_timer::init_preemption_timer;
pub use platform_timer::stop_preemption_timer;
pub use platform_timer::preemption_checkpoint;
pub use safe_api::exit_thread as safe_exit;
pub use safe_api::yield_now;
pub use safe_api::Mutex;
pub use safe_api::MutexGuard;
pub use safe_api::ThreadBuilder;
pub use safe_api::ThreadHandle;
pub use safe_api::ThreadPool;
pub use scheduler::Scheduler;
pub use scheduler::SCHEDULER;
pub use stack_guard::ProtectedStack;
pub use stack_guard::StackGuard;
pub use stack_guard::StackStats;
pub use stack_guard::StackStatus;
pub use sync::exit_thread;
pub use sync::yield_thread;
pub use thread::Thread;
pub use thread::ThreadId;
pub use thread::ThreadState;
Modules§
- atomic_
scheduler - context
- context_
full - error
- platform_
timer - Platform-specific timer implementations for preemptive scheduling
- preemption
- safe_
api - scheduler
- signal_
safe - stack_
guard - sync
- thread
Macros§
- preemption_
point - Cooperative preemption points - insert these in long-running code
- protected_
stack - Stack allocation with automatic guard setup