about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2015-04-01 12:20:57 -0700
committerAaron Turon <aturon@mozilla.com>2015-04-01 13:43:45 -0700
commit371277fb0d210152eb8c79e30bd7f7749c5af63c (patch)
treefe4e3a3e6a962321ce51677800c068eb92033d39 /src/libstd/sys/unix/stack_overflow.rs
parentd528aa9960cb9b937d8ef6c09905a6a8076d5f3a (diff)
downloadrust-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