mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
1 changed files with 1 additions and 1 deletions
2
thread.c
2
thread.c
|
@ -153,7 +153,7 @@ rb_thread_s_debug_set(VALUE self, VALUE val)
|
|||
|
||||
#define DEBUG_OUT() \
|
||||
pthread_mutex_lock(&debug_mutex); \
|
||||
printf("%8p - %s", pthread_self(), buf); \
|
||||
printf("%p - %s", pthread_self(), buf); \
|
||||
fflush(stdout); \
|
||||
pthread_mutex_unlock(&debug_mutex);
|
||||
|
||||
|
|
Loading…
Reference in a new issue