diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-10 08:29:46 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-10 08:29:46 +0000 |
commit | b9a13f4962333f08338b9839d1bd9151665ac8aa (patch) | |
tree | ede8a4b579633be0a65c242c85e261d0b7ba8851 /thread.c | |
parent | a2e497d5ede45bd4f4a57f494027020d7bd1733b (diff) | |
download | ruby-b9a13f4962333f08338b9839d1bd9151665ac8aa.tar.gz |
* thread_pthread.c (mutex_debug): use exit(EXIT_FAILURE) instad of
exit(1).
* thread_pthread.c (add_signal_thread_list): ditto.
* thread.c (rb_thread_call_with_gvl): ditto.
* util.c (Bug): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1210,7 +1210,7 @@ rb_thread_call_with_gvl(void *(*func)(void *), void *data1) */ fprintf(stderr, "[BUG] rb_thread_call_with_gvl() is called by non-ruby thread\n"); - exit(1); + exit(EXIT_FAILURE); } brb = (struct rb_blocking_region_buffer *)th->blocking_region_buffer; |