rust/src/test/run-pass/task-pin.rs

10 lines
179 B
Rust
Raw Normal View History

/**
Exercises task pinning and unpinning. Doesn't really ensure it
works, just makes sure it runs.
*/
use std;
import std::task;
2011-07-27 07:19:39 -05:00
fn main() { task::pin(); task::unpin(); }