diff options
| author | Vardhan Thigle <vardhan.thigle@fortanix.com> | 2019-01-09 13:53:46 +0530 |
|---|---|---|
| committer | Vardhan Thigle <vardhan.thigle@fortanix.com> | 2019-01-13 13:07:45 +0530 |
| commit | 99fbd1bf110c1e62c0c22a0e2232bec4bf9fdd89 (patch) | |
| tree | 200181a30f9ca5e0cb38292d9812ba02af955f41 /src/libstd/sys/sgx/waitqueue.rs | |
| parent | 4a957b320dce39a044a05d3ad33ce4b20134c263 (diff) | |
| download | rust-99fbd1bf110c1e62c0c22a0e2232bec4bf9fdd89.tar.gz rust-99fbd1bf110c1e62c0c22a0e2232bec4bf9fdd89.zip | |
Fix breakage from #56988 and workaround for #57569
Diffstat (limited to 'src/libstd/sys/sgx/waitqueue.rs')
| -rw-r--r-- | src/libstd/sys/sgx/waitqueue.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sys/sgx/waitqueue.rs b/src/libstd/sys/sgx/waitqueue.rs index a4738208778..51c00a1433e 100644 --- a/src/libstd/sys/sgx/waitqueue.rs +++ b/src/libstd/sys/sgx/waitqueue.rs @@ -456,6 +456,7 @@ mod spin_mutex { } } + /// Lock the Mutex or return false. pub macro try_lock_or_false { ($e:expr) => { if let Some(v) = $e.try_lock() { |
