mirror of
https://github.com/gitui-org/gitui.git
synced 2026-10-12 02:14:16 +00:00
comment
This commit is contained in:
+1
-1
@@ -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)>,
|
||||
|
||||
Reference in New Issue
Block a user