diff options
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,8 @@ use std::fmt::{self, Debug}; use parking_lot::Mutex; +mod lock; + thread_local! { // safety: this is the only place where a ThreadLock is created pub static KEY: Mutex<Option<ThreadKey>> = Mutex::new(Some(unsafe { ThreadKey::new() })); |
