* thread.c (DEBUG_OUT): leave pointer size to runtime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8ac59769bc
commit
b1b44331de
2
thread.c
2
thread.c
@ -153,7 +153,7 @@ rb_thread_s_debug_set(VALUE self, VALUE val)
|
|||||||
|
|
||||||
#define DEBUG_OUT() \
|
#define DEBUG_OUT() \
|
||||||
pthread_mutex_lock(&debug_mutex); \
|
pthread_mutex_lock(&debug_mutex); \
|
||||||
printf("%8p - %s", pthread_self(), buf); \
|
printf("%p - %s", pthread_self(), buf); \
|
||||||
fflush(stdout); \
|
fflush(stdout); \
|
||||||
pthread_mutex_unlock(&debug_mutex);
|
pthread_mutex_unlock(&debug_mutex);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user