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
89e5f6c883
rust
/
src
/
test
/
run-pass
/
lib-task.rs
6 lines
68 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
;
Downcase std modules again, move to :: for module dereferencing This should be a snapshot transition.
2011-05-12 10:24:54 -05:00
import
std
::
_task
;
Added support for task sleeping in the scheduler.
2010-08-11 23:23:34 -05:00
fn
main
(
)
{
Downcase std modules again, move to :: for module dereferencing This should be a snapshot transition.
2011-05-12 10:24:54 -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