Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
wenyuzhao committed Jun 28, 2024
1 parent df0a75f commit 3006083
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
7 changes: 0 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ num_cpus = "1.13.1"
atomic = "0.5.1"
quote = "1.0.20"
syn = "1.0.98"
array-const-fn-init = "0.1.1"
shell-words = "1.1.0"
cargo_metadata = "0.18.1"

Expand Down
1 change: 0 additions & 1 deletion hoard/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ crate-type = ["cdylib", "staticlib", "rlib"]
[dependencies]
mallockit = { path = "../mallockit" }
spin = { workspace = true }
array-const-fn-init = { workspace = true }

[features]
default = []
Expand Down
1 change: 1 addition & 0 deletions hoard/src/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ impl BlockList {

pub struct Pool {
pub global: bool,
// This is a major difference to the original hoard: we lock bins instead of the entire local heap.
blocks: [Mutex<BlockList>; Self::MAX_BINS],
}

Expand Down

0 comments on commit 3006083

Please sign in to comment.