Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stabilize basic timeout functionality #23949

Merged
merged 1 commit into from
Apr 2, 2015

Commits on Apr 1, 2015

  1. Stabilize basic timeout functionality

    This commit renames and stabilizes:
    
    * `Condvar::wait_timeout_ms` (renamed from `wait_timeout`)
    * `thread::park_timeout_ms` (renamed from `park_timeout`)
    * `thread::sleep_ms` (renamed from `sleep`)
    
    In each case, the timeout is taken as a `u32` number of milliseconds,
    rather than a `Duration`.
    
    These functions are likely to be deprecated once a stable form of
    `Duration` is available, but there is little cost to having these named
    variants around, and it's crucial functionality for 1.0.
    
    [breaking-change]
    aturon committed Apr 1, 2015
    Configuration menu
    Copy the full SHA
    371277f View commit details
    Browse the repository at this point in the history