|
|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
// ANCHOR: handle
|
|
|
|
|
use super::{KernelObject, Rights, DummyObject};
|
|
|
|
|
use super::{DummyObject, KernelObject, Rights};
|
|
|
|
|
use alloc::sync::Arc;
|
|
|
|
|
|
|
|
|
|
/// 内核对象句柄
|
|
|
|
|
@ -26,4 +26,4 @@ mod tests {
|
|
|
|
|
let obj = DummyObject::new();
|
|
|
|
|
let handle1 = Handle::new(obj.clone(), Rights::BASIC);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|