Create a static WRITER protected by a spinlock

This commit is contained in:
Philipp Oppermann
2017-04-12 19:32:59 +02:00
parent f24c7bc322
commit 40aed4fa0f
3 changed files with 14 additions and 15 deletions

View File

@@ -9,3 +9,4 @@ crate-type = ["staticlib"]
[dependencies]
rlibc = "1.0"
volatile = "0.1.0"
spin = "0.4.5"