Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Oct 16, 2024
1 parent 8a61962 commit 371a4ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xtensa-lx/src/interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ pub fn get_level() -> u32 {

/// Execute closure `f` in an interrupt-free context.
///
/// This as also known as a "critical section".
/// This method does not synchronise multiple cores, so it is not suitable for
/// using as a critical section. See the `critical-section` crate for a
/// cross-platform way to enter a critical section which provides a
/// `CriticalSection` token.
#[inline]
pub fn free<F, R>(f: F) -> R
where
Expand Down

0 comments on commit 371a4ed

Please sign in to comment.