about summary refs log tree commit diff
path: root/src/rt/rust_task.h
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-11-17 16:37:54 -0800
committerBrian Anderson <banderson@mozilla.com>2011-11-18 10:32:27 -0800
commit0dfa1410d3bbe6eb30e2e97b8eeb2b403ac25660 (patch)
treebdfb48efbd41dde9d40c5a9c76c407e77aa320d3 /src/rt/rust_task.h
parent63d40b8ab661ae1921bac26e0e4c72fb0ce57586 (diff)
downloadrust-0dfa1410d3bbe6eb30e2e97b8eeb2b403ac25660.tar.gz
rust-0dfa1410d3bbe6eb30e2e97b8eeb2b403ac25660.zip
rt: Remove task::on_wakeup. Unused
Diffstat (limited to 'src/rt/rust_task.h')
-rw-r--r--src/rt/rust_task.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h
index b54387e9293..6aa94c6b6d4 100644
--- a/src/rt/rust_task.h
+++ b/src/rt/rust_task.h
@@ -106,13 +106,6 @@ rust_task : public kernel_owned<rust_task>, rust_cond
 
     memory_region local_region;
 
-    class wakeup_callback {
-    public:
-        virtual void on_wakeup() = 0;
-    };
-
-    wakeup_callback *_on_wakeup;
-
     // Indicates that the task ended in failure
     bool failed;
     // Indicates that the task was killed and needs to unwind
@@ -189,8 +182,6 @@ rust_task : public kernel_owned<rust_task>, rust_cond
     void pin(int id);
     void unpin();
 
-    void on_wakeup(wakeup_callback *callback);
-
     rust_port_id register_port(rust_port *port);
     void release_port(rust_port_id id);
     rust_port *get_port_by_id(rust_port_id id);