pub fn read<T: Send + Sync + 'static>(
lock: &Arc<RwLock<T>>,
context: &str,
) -> Option<OwnedRwLockReadGuard<T>>Expand description
Acquire a read lock with an adaptive timeout based on I/O health.
Returns None on timeout (caller must provide graceful fallback).
Records a freeze event for self-healing if the timeout is hit.