mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 08:58:21 +00:00
comment
This commit is contained in:
parent
c759bf7729
commit
ed730c2fa1
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use std::sync::{Arc, Condvar, Mutex};
|
||||
|
||||
///
|
||||
/// combines a `Mutex` and `Condvar` to allow waiting for a change in the variable protected by the `Mutex`
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct NotifyableMutex<T> {
|
||||
data: Arc<(Mutex<T>, Condvar)>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue