about summary refs log tree commit diff
path: root/src/rt/rust_task_thread.h
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-17 17:17:48 -0700
committerBrian Anderson <banderson@mozilla.com>2012-03-17 17:18:24 -0700
commit5728a69e78d62da49ec3c6c5ce5ebab9932f4e44 (patch)
tree2a81daa1ec30c55df83c683bf384cd74031eef3e /src/rt/rust_task_thread.h
parent4debe7178582c9aded3ded8b987999317b35952a (diff)
downloadrust-5728a69e78d62da49ec3c6c5ce5ebab9932f4e44.tar.gz
rust-5728a69e78d62da49ec3c6c5ce5ebab9932f4e44.zip
rt: Remove some bogus pthread settings from rust_task_thread
This is all handled by rust_thread, and 'true' isn't even a valid
value to pass to pthread_attr_setdetachestate
Diffstat (limited to 'src/rt/rust_task_thread.h')
-rw-r--r--src/rt/rust_task_thread.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/rust_task_thread.h b/src/rt/rust_task_thread.h
index 7363a89d749..20f37ab7bcc 100644
--- a/src/rt/rust_task_thread.h
+++ b/src/rt/rust_task_thread.h
@@ -24,7 +24,6 @@ private:
     const int id;
 
 #ifndef __WIN32__
-    pthread_attr_t attr;
     static pthread_key_t task_key;
 #else
     static DWORD task_key;