This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
b1d3364487
rust
/
src
/
test
/
run-pass
/
lib-task.rs
6 lines
64 B
Rust
Raw
Normal View
History
Unescape
Escape
Added support for task sleeping in the scheduler.
2010-08-11 23:23:34 -05:00
use
std
;
Rename std modules to be camelcased (Have fun mergining your stuff with this.)
2011-05-06 15:13:13 -05:00
import
std
.
Task
;
Added support for task sleeping in the scheduler.
2010-08-11 23:23:34 -05:00
fn
main
(
)
{
Rename std modules to be camelcased (Have fun mergining your stuff with this.)
2011-05-06 15:13:13 -05:00
Task
.
sleep
(
1000000
u
)
;
Added support for task sleeping in the scheduler.
2010-08-11 23:23:34 -05:00
}
Reference in New Issue
Copy Permalink