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-08-25 11:20:43 -0700
committerEric Holk <eholk@mozilla.com>2011-08-25 11:21:25 -0700
commit2f7c583bc12c0bddb28e43ea79b593a014811b09 (patch)
treedff43b4686d290723f689b6605449fabf19b3622 /src/rt/rust_task.h
parentb31815f8a0b98445d2a82888a290b9543ad4400f (diff)
downloadrust-2f7c583bc12c0bddb28e43ea79b593a014811b09.tar.gz
rust-2f7c583bc12c0bddb28e43ea79b593a014811b09.zip
Cleaning up task and comm exports, updating all the test cases.
Diffstat (limited to 'src/rt/rust_task.h')
-rw-r--r--src/rt/rust_task.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h
index 4fc37ca1ee9..42013ca1f5c 100644
--- a/src/rt/rust_task.h
+++ b/src/rt/rust_task.h
@@ -26,7 +26,8 @@ struct frame_glue_fns {
 // library. This struct must agree with the std::task::rust_task record.
 struct rust_task_user {
     rust_task_id id;
-    uint8_t notify_enabled;
+    uint32_t notify_enabled;   // this is way more bits than necessary, but it
+                               // simplifies the alignment.
     chan_handle notify_chan;
     context ctx;
     uintptr_t rust_sp;         // Saved sp when not running.