pub type SharedState<T> = Arc<RwLock<T>>;
Thread-safe wrapper for simulator state
pub struct SharedState<T> { /* private fields */ }