修改CFSqueue从Vec变成红黑树 (#229)

使用了由tickbh编写的rbtree: https://github.com/tickbh/rbtree-rs/blob/master/src/lib.rs

Co-authored-by: tickbh <tickdream125@hotmail.com>
This commit is contained in:
hanjiezhou
2023-04-06 00:50:14 +08:00
committed by GitHub
parent 2a7d773d3d
commit e0dfd4d5d7
11 changed files with 1819 additions and 21 deletions

View File

@ -27,6 +27,7 @@ num-derive = "0.3"
[build-dependencies]
bindgen = "0.61.0"
[dependencies.lazy_static]
version = "1.4.0"
# 由于在no_std环境而lazy_static依赖了spin库因此需要指定其使用no_std