diff options
| author | Marijn Haverbeke <[email protected]> | 2011-05-06 22:13:13 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <[email protected]> | 2011-05-06 22:51:19 +0200 |
| commit | a3ec0b1f643d00b9418e4884bd7caa07bf052201 (patch) | |
| tree | 82000510ac9c9cf3f0c7cf4ae5f3c6b123b559cb /src/lib/_task.rs | |
| parent | Register new snapshots. (diff) | |
| download | rust-a3ec0b1f643d00b9418e4884bd7caa07bf052201.tar.xz rust-a3ec0b1f643d00b9418e4884bd7caa07bf052201.zip | |
Rename std modules to be camelcased
(Have fun mergining your stuff with this.)
Diffstat (limited to 'src/lib/_task.rs')
| -rw-r--r-- | src/lib/_task.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/lib/_task.rs b/src/lib/_task.rs deleted file mode 100644 index 8eece16b..00000000 --- a/src/lib/_task.rs +++ /dev/null @@ -1,21 +0,0 @@ -native "rust" mod rustrt { - fn task_sleep(uint time_in_us); -} - -/** - * Hints the scheduler to yield this task for a specified ammount of time. - * - * arg: time_in_us maximum number of microseconds to yield control for - */ -fn sleep(uint time_in_us) { - ret rustrt.task_sleep(time_in_us); -} - -// Local Variables: -// mode: rust; -// fill-column: 78; -// indent-tabs-mode: nil -// c-basic-offset: 4 -// buffer-file-coding-system: utf-8-unix -// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'"; -// End: |