aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Emil Fresk <emil.fresk@gmail.com> 2020-04-21 22:03:48 +0200
committerGravatar Emil Fresk <emil.fresk@gmail.com> 2020-04-21 22:03:48 +0200
commit2dca8c948f47a1c23e9f33bff26721f5a33f2fd8 (patch)
tree4b712e400910e8710aa599a8eed52b6386603211
parent03a788a4e234ddc6a38c5545417928b8cbe62a05 (diff)
downloadcortex-m-mutex_add.tar.gz
cortex-m-mutex_add.tar.zst
cortex-m-mutex_add.zip
More docsmutex_add
-rw-r--r--src/mutex.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mutex.rs b/src/mutex.rs
index 86bd5d5..0975b83 100644
--- a/src/mutex.rs
+++ b/src/mutex.rs
@@ -1,4 +1,8 @@
//! Implementation of a critical section based mutex that also implements the `mutex-trait`.
+//!
+//! ## Safety
+//!
+//! Note that this is only safe in single core applications.
use core::cell::UnsafeCell;