* 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
This commit is contained in:
ko1 2011-06-16 17:28:54 +00:00
parent 3c23284734
commit 1ac74a11c2
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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;