summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-18 06:57:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-18 06:57:08 +0000
commit3a4bfbad0976c60dd557dcdb64b390d055e6446b (patch)
tree8b3c67f1abe3bd3563c89bfd05b5b20d484aa0db /thread.c
parentb66eb536507d4837948d615ef61b25c01a2e07ff (diff)
* thread.c (thread_cleanup_func): ignore errors from destroying mutex
of dead thread. [ruby-core:15069] * thread_pthread.c, thread_win32.c (native_thread_destroy): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 7326c59347..e45062c206 100644
--- a/thread.c
+++ b/thread.c
@@ -281,7 +281,6 @@ thread_cleanup_func(void *th_ptr)
#ifdef __ia64
th->machine_register_stack_start = th->machine_register_stack_end = 0;
#endif
- native_mutex_destroy(&th->interrupt_lock);
native_thread_destroy(th);
}