about summary refs log tree commit diff
path: root/src/rt/rust_task.h
diff options
context:
space:
mode:
authorEric Holk <eholk@mozilla.com>2011-06-29 18:56:34 -0700
committerEric Holk <eholk@mozilla.com>2011-06-29 18:56:34 -0700
commitb3e5b5bd05fabf9b68ef350632254aa696d74b89 (patch)
tree5f768053ca7c3e3fcdb4d88286bd1d9dd5dc8d71 /src/rt/rust_task.h
parent63dcd325b909051f53682dc6ddb2d6768ffbbba3 (diff)
downloadrust-b3e5b5bd05fabf9b68ef350632254aa696d74b89.tar.gz
rust-b3e5b5bd05fabf9b68ef350632254aa696d74b89.zip
Added inheritance for task pinning. Closes #598 for real.
Diffstat (limited to 'src/rt/rust_task.h')
-rw-r--r--src/rt/rust_task.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h
index 428e3c13993..f2aa7846c54 100644
--- a/src/rt/rust_task.h
+++ b/src/rt/rust_task.h
@@ -154,6 +154,7 @@ rust_task : public maybe_proxy<rust_task>,
     void free(void *mem, memory_region::memory_region_type type);
 
     void pin();
+    void pin(int id);
     void unpin();
 };