Skip to content

Commit

Permalink
Add 'platform-specific' section to sleep_ms to match sleep.
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Jan 1, 2017
1 parent 7b659cf commit 20fd6cc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/libstd/thread/mod.rs
Expand Up @@ -491,9 +491,12 @@ pub fn panicking() -> bool {
/// Puts the current thread to sleep for the specified amount of time.
///
/// The thread may sleep longer than the duration specified due to scheduling
/// specifics or platform-dependent functionality. Note that on unix platforms
/// this function will not return early due to a signal being received or a
/// spurious wakeup.
/// specifics or platform-dependent functionality.
///
/// # Platform behavior
///
/// On Unix platforms this function will not return early due to a
/// signal being received or a spurious wakeup.
///
/// # Examples
///
Expand Down

0 comments on commit 20fd6cc

Please sign in to comment.