summaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-09 09:17:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-09 09:17:09 +0000
commit9a10bdc98eb60b07c9f4da7b8db30e5823523e51 (patch)
treee45655d0fd5be25e82a27b4c7ed4f44f460216d8 /thread.c
parent5cba81a12d29690e067ae34be6054250aca949c0 (diff)
downloadruby-9a10bdc98eb60b07c9f4da7b8db30e5823523e51.tar.gz
ruby-9a10bdc98eb60b07c9f4da7b8db30e5823523e51.tar.xz
ruby-9a10bdc98eb60b07c9f4da7b8db30e5823523e51.zip
* thread_{pthread,win32}.c (rb_thread_create_timer_thread): needs more
stack for debug. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 5ede10c60..db77e4d28 100644
--- a/thread.c
+++ b/thread.c
@@ -167,7 +167,7 @@ static void timer_thread_function(void *);
#define DEBUG_OUT() \
pthread_mutex_lock(&debug_mutex); \
- printf("%p - %s", pthread_self(), buf); \
+ printf("%#"PRIxVALUE" - %s", (VALUE)pthread_self(), buf); \
fflush(stdout); \
pthread_mutex_unlock(&debug_mutex);