summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/thread.c b/thread.c
index 9a20254c6a..cedfcbea49 100644
--- a/thread.c
+++ b/thread.c
@@ -2968,12 +2968,6 @@ Init_Thread(void)
rb_define_method(rb_cMutex, "unlock", rb_mutex_unlock, 0);
rb_define_method(rb_cMutex, "sleep", mutex_sleep, -1);
- rb_iseq_eval(rb_iseq_compile(
- rb_str_new2("class Mutex;"
- " def synchronize; self.lock; yield; ensure; self.unlock; end;"
- "end;"),
- rb_str_new2(__FILE__), INT2FIX(__LINE__)));
-
recursive_key = rb_intern("__recursive_key__");
rb_eThreadError = rb_define_class("ThreadError", rb_eStandardError);