mirror of
https://github.com/m-labs/artiq.git
synced 2025-02-17 21:11:56 +08:00
firmware: derive Clone for Mutex.
This commit is contained in:
parent
c8cd830118
commit
c33f74dabe
@ -265,6 +265,7 @@ impl<'a> Io<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct Mutex(Urc<Cell<bool>>);
|
pub struct Mutex(Urc<Cell<bool>>);
|
||||||
|
|
||||||
impl Mutex {
|
impl Mutex {
|
||||||
|
Loading…
Reference in New Issue
Block a user