mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-24 21:33:27 +00:00
fix: 检测不到ctrl+D的问题 && pid=1被kill的时候没报错的问题 (#1206)
Signed-off-by: longjin <longjin@DragonOS.org>
This commit is contained in:
@ -284,6 +284,8 @@ pub trait BitMapOps<T: BitOps> {
|
||||
fn last_false_index(&self) -> Option<usize>;
|
||||
|
||||
/// 获取指定index之后第一个为1的位的index
|
||||
///
|
||||
/// **注意**: 这个不包含当前的index位(如果index位的值是1,那么它是会跳过这个位的)
|
||||
fn next_index(&self, index: usize) -> Option<usize>;
|
||||
|
||||
/// 获取指定index之后第一个为0的位的index
|
||||
|
Reference in New Issue
Block a user