diff options
| author | Mica White <botahamec@outlook.com> | 2024-03-14 17:21:51 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2024-03-14 17:21:51 -0400 |
| commit | ad76d43dc28b8802d64eb7ddcd9e02d3d12ac89a (patch) | |
| tree | 7c804518ef4368ebd87172f42bf25d0c18fc4e07 /examples | |
| parent | 7bd236853ef5ae705328c8fdc492cf60fc6887c1 (diff) | |
Implement sequenced collections
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/dining_philosophers.rs | 2 | ||||
| -rw-r--r-- | examples/double_mutex.rs | 2 | ||||
| -rw-r--r-- | examples/list.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/dining_philosophers.rs b/examples/dining_philosophers.rs index 34efb0e..2f2fa0d 100644 --- a/examples/dining_philosophers.rs +++ b/examples/dining_philosophers.rs @@ -1,6 +1,6 @@ use std::{thread, time::Duration}; -use happylock::{Mutex, RefLockCollection, ThreadKey}; +use happylock::{collection::RefLockCollection, Mutex, ThreadKey}; static PHILOSOPHERS: [Philosopher; 5] = [ Philosopher { diff --git a/examples/double_mutex.rs b/examples/double_mutex.rs index cd627c4..e2b08df 100644 --- a/examples/double_mutex.rs +++ b/examples/double_mutex.rs @@ -1,6 +1,6 @@ use std::thread; -use happylock::{Mutex, RefLockCollection, ThreadKey}; +use happylock::{collection::RefLockCollection, Mutex, ThreadKey}; const N: usize = 10; diff --git a/examples/list.rs b/examples/list.rs index cf344e7..dda468a 100644 --- a/examples/list.rs +++ b/examples/list.rs @@ -1,6 +1,6 @@ use std::thread; -use happylock::{Mutex, RefLockCollection, ThreadKey}; +use happylock::{collection::RefLockCollection, Mutex, ThreadKey}; const N: usize = 10; |
