nerve/thread/
mod.rs

1//! Thread Management System for Nerve Framework
2//!
3//! Provides thread lifecycle management components including:
4//! - Thread lifecycle states and transitions
5//! - Thread coordination and synchronization
6//! - Watchdog monitoring and heartbeat tracking
7//! - Thread health and performance monitoring
8
9#![warn(missing_docs)]
10
11// Thread management submodules
12pub mod lifecycle;
13pub mod coordination;
14pub mod watchdog;
15pub mod monitoring;
16
17// Re-exports for convenience
18pub use nerve_thread::*;
19
20/// Thread system prelude for convenient imports
21pub mod prelude {
22    // Core thread traits
23    pub use nerve_core_traits::{
24        ThreadBarrier, ThreadChannel, ThreadComponent, ThreadCondition, ThreadCoordinator,
25        ThreadLifecycle, ThreadWatchdog,
26    };
27
28    // Thread system components
29    pub use crate::thread::lifecycle::*;
30    pub use crate::thread::coordination::*;
31    pub use crate::thread::watchdog::*;
32    pub use crate::thread::monitoring::*;
33}