summaryrefslogtreecommitdiffstats
path: root/third_party/rust/mio/src/sys/shell/waker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/mio/src/sys/shell/waker.rs')
-rw-r--r--third_party/rust/mio/src/sys/shell/waker.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/rust/mio/src/sys/shell/waker.rs b/third_party/rust/mio/src/sys/shell/waker.rs
new file mode 100644
index 0000000000..bbdd7c33af
--- /dev/null
+++ b/third_party/rust/mio/src/sys/shell/waker.rs
@@ -0,0 +1,16 @@
+use crate::sys::Selector;
+use crate::Token;
+use std::io;
+
+#[derive(Debug)]
+pub struct Waker {}
+
+impl Waker {
+ pub fn new(_: &Selector, _: Token) -> io::Result<Waker> {
+ os_required!();
+ }
+
+ pub fn wake(&self) -> io::Result<()> {
+ os_required!();
+ }
+}