diff options
| author | Aaron Turon <aturon@mozilla.com> | 2015-04-01 12:20:57 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2015-04-01 13:43:45 -0700 |
| commit | 371277fb0d210152eb8c79e30bd7f7749c5af63c (patch) | |
| tree | fe4e3a3e6a962321ce51677800c068eb92033d39 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | d528aa9960cb9b937d8ef6c09905a6a8076d5f3a (diff) | |
| download | rust-371277fb0d210152eb8c79e30bd7f7749c5af63c.tar.gz rust-371277fb0d210152eb8c79e30bd7f7749c5af63c.zip | |
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]
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
