about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-01 13:56:20 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-01 13:56:20 -0700
commit655634e6ab00707ef98034dcfb32000cbfa7a01c (patch)
tree7222d7fe7e9a1be7f04eabaa557e21bb370c2978 /src/libstd/sys/unix/stack_overflow.rs
parentbb252a8878882013aa5d5a3bb2af93d6cb51a85f (diff)
parent371277fb0d210152eb8c79e30bd7f7749c5af63c (diff)
downloadrust-655634e6ab00707ef98034dcfb32000cbfa7a01c.tar.gz
rust-655634e6ab00707ef98034dcfb32000cbfa7a01c.zip
rollup merge of #23949: aturon/stab-timeout
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]

r? @alexcrichton

cc @sfackler @carllerche
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions