mc_sgx_sync/lib.rs
1// Copyright (c) 2023 The MobileCoin Foundation
2
3#![doc = include_str!("../README.md")]
4#![deny(missing_docs, missing_debug_implementations)]
5#![no_std]
6#![feature(error_in_core, must_not_suspend, negative_impls)]
7
8mod condvar;
9mod mutex;
10mod poison;
11pub use condvar::Condvar;
12pub use mutex::{Mutex, MutexGuard};
13pub use poison::{LockResult, PoisonError, TryLockError, TryLockResult};
14pub use rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard};
15mod rwlock;
16mod sys;