diff options
| author | Michael Bebenita <mbebenita@mozilla.com> | 2010-07-28 00:34:28 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2010-07-28 20:30:29 -0700 |
| commit | 6c0ce25dbf1df3b56e5ff2b5837b9a255bcbc567 (patch) | |
| tree | d6bc9ef574be845658aac9301540df8714e2dc17 | |
| parent | 06b52b70db868285de5cf71166e5ce5b9dfb8e00 (diff) | |
| download | rust-6c0ce25dbf1df3b56e5ff2b5837b9a255bcbc567.tar.gz rust-6c0ce25dbf1df3b56e5ff2b5837b9a255bcbc567.zip | |
Move rust_cond.
| -rw-r--r-- | src/rt/rust_internal.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h index 1f14084156c..529fd3d75b8 100644 --- a/src/rt/rust_internal.h +++ b/src/rt/rust_internal.h @@ -109,6 +109,13 @@ task_owned } }; +// A cond(ition) is something we can block on. This can be a channel +// (writing), a port (reading) or a task (waiting). + +struct +rust_cond +{ +}; // Helper class used regularly elsewhere. @@ -526,15 +533,6 @@ public: rust_crate_reader(rust_dom *dom, rust_crate const *crate); }; - -// A cond(ition) is something we can block on. This can be a channel -// (writing), a port (reading) or a task (waiting). - -struct -rust_cond -{ -}; - // An alarm can be put into a wait queue and the task will be notified // when the wait queue is flushed. |
