0d01a87992
The `Synced<T>` struct is a wrapper over the `Ext2` struct. It guarantees thread safety through an `Arc` and a spinlock (`spin::Mutex`). The `fs::sync` mod provides Thread-safe versions of structs found in `fs`.
14 lines
242 B
TOML
14 lines
242 B
TOML
[package]
|
|
name = "ext2"
|
|
version = "0.1.0"
|
|
authors = ["Szymon Walter <walter.szymon.98@gmail.com>"]
|
|
|
|
[dependencies]
|
|
bitflags = "1.0"
|
|
rlibc = { version = "1.0", optional = true }
|
|
spin = "0.4"
|
|
|
|
[features]
|
|
default = ["no_std"]
|
|
no_std = ["rlibc"]
|