Add futex, pipe, timeout subscribers

This commit is contained in:
Wildan M
2026-05-13 10:46:38 +07:00
parent bd44956e96
commit ff11f47404
5 changed files with 29 additions and 3 deletions
+4
View File
@@ -28,6 +28,10 @@ fn registry(token: LockToken<'_, L0>) -> MutexGuard<'_, L1, Registry> {
REGISTRY.lock(token)
}
pub fn get_timeout_stat(token: &mut CleanLockToken) -> usize {
REGISTRY.lock(token.token()).len()
}
pub fn register(
scheme_id: SchemeId,
event_id: usize,