Move rust_cond.
This commit is contained in:
parent
06b52b70db
commit
6c0ce25dbf
1 changed files with 7 additions and 9 deletions
|
@ -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.
|
// Helper class used regularly elsewhere.
|
||||||
|
|
||||||
|
@ -526,15 +533,6 @@ public:
|
||||||
rust_crate_reader(rust_dom *dom, rust_crate const *crate);
|
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
|
// An alarm can be put into a wait queue and the task will be notified
|
||||||
// when the wait queue is flushed.
|
// when the wait queue is flushed.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue