diff options
| author | Ronald Kinard <[email protected]> | 2017-02-23 19:56:00 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-02-23 19:56:00 -0600 |
| commit | 1c98cb543bf5264f3bbeba54e0049fbde66f3786 (patch) | |
| tree | e7432275077b8ba29b39160eec9a17cab62e8138 /ctr-std/src/thread | |
| parent | Merge pull request #19 from FenrirWolf/thread_local (diff) | |
| parent | Add sync::mutex (diff) | |
| download | ctru-rs-1c98cb543bf5264f3bbeba54e0049fbde66f3786.tar.xz ctru-rs-1c98cb543bf5264f3bbeba54e0049fbde66f3786.zip | |
Merge pull request #21 from FenrirWolf/mutex
Add sync::mutex
Diffstat (limited to 'ctr-std/src/thread')
| -rw-r--r-- | ctr-std/src/thread/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ctr-std/src/thread/mod.rs b/ctr-std/src/thread/mod.rs index 9b8f76c..8b27bed 100644 --- a/ctr-std/src/thread/mod.rs +++ b/ctr-std/src/thread/mod.rs @@ -193,3 +193,8 @@ pub use self::local::{LocalKey, LocalKeyState}; #[doc(hidden)] pub use sys::fast_thread_local::Key as __FastLocalKeyInner; #[unstable(feature = "libstd_thread_internals", issue = "0")] #[doc(hidden)] pub use self::local::os::Key as __OsLocalKeyInner; + +// We don't have stack unwinding, so this should always be false +pub fn panicking() -> bool { + false +} |