diff options
| author | Jeff Olson <olson.jeffery@gmail.com> | 2012-04-20 05:00:14 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-04-20 15:23:23 -0700 |
| commit | 7ac8c3081c5d4d7b1c79942e426770c1c3e1c0b3 (patch) | |
| tree | a9be790d707033f9dfcfdf403e64b076361fdf9e /src/rt/rust_kernel.cpp | |
| parent | a1c43cc7c92f98acd9b45e36b7dfc3407ca5f3fe (diff) | |
| download | rust-7ac8c3081c5d4d7b1c79942e426770c1c3e1c0b3.tar.gz rust-7ac8c3081c5d4d7b1c79942e426770c1c3e1c0b3.zip | |
std: add std::timer and timer::delayed_send and timer::sleep
.. leveraging std::uv, we have: timer::delayed_send - send a value over a provided channel after the timeout has passed timer::sleep - block the current task for the specified period both of these fns (and everything that goes in timer.rs) leverage the uv_timer_* API
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
