diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-16 17:28:54 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-16 17:28:54 +0000 |
commit | 1ac74a11c2594f1cc4284c941ccf5ca91fc8e146 (patch) | |
tree | cffe36f89154008d935270b0ab3722328d27e63b | |
parent | 3c23284734b60dac99339c300dff6c4bd2c226f4 (diff) | |
download | ruby-1ac74a11c2594f1cc4284c941ccf5ca91fc8e146.tar.gz |
* thread_pthread.c (native_thread_create): fix debug message.
(add last newline)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | thread_pthread.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Jun 17 02:26:47 2011 Koichi Sasada <ko1@atdot.net> + + * thread_pthread.c (native_thread_create): fix debug message. + (add last newline) + Thu Jun 16 23:40:49 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> * thread.c (rb_thread_schedule_rec): fix {UN,}LIKELY macro misuse. diff --git a/thread_pthread.c b/thread_pthread.c index 080bc0c9a0..496600e478 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -769,7 +769,7 @@ native_thread_create(rb_thread_t *th) CHECK_ERR(pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED)); err = pthread_create(&th->thread_id, &attr, thread_start_func_1, th); - thread_debug("create: %p (%d)", (void *)th, err); + thread_debug("create: %p (%d)\n", (void *)th, err); CHECK_ERR(pthread_attr_destroy(&attr)); } return err; |