about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-01-19 22:54:29 -0800
committerBrian Anderson <banderson@mozilla.com>2013-01-23 17:35:34 -0800
commitfb9299346af9b951890db80e47eb65625997f160 (patch)
treec048d87d7ad93562335e9505ed747ef3d86eb142 /src/rt/rust_kernel.cpp
parent8852279a9ecac970e30b6d92d7efdcbd5485769c (diff)
downloadrust-fb9299346af9b951890db80e47eb65625997f160.tar.gz
rust-fb9299346af9b951890db80e47eb65625997f160.zip
core: Convert getenv/setenv to use a mutex
This much simpler implementation uses a global mutex
and eliminates the kernel environment channel.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
-rw-r--r--src/rt/rust_kernel.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp
index d270ac07633..7e342878841 100644
--- a/src/rt/rust_kernel.cpp
+++ b/src/rt/rust_kernel.cpp
@@ -35,7 +35,6 @@ rust_kernel::rust_kernel(rust_env *env) :
     osmain_driver(NULL),
     non_weak_tasks(0),
     global_loop_chan(0),
-    global_env_chan(0),
     at_exit_runner(NULL),
     at_exit_started(false),
     env(env),