summaryrefslogtreecommitdiffstats
path: root/thread_pthread.ci
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-12 01:30:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-12 01:30:48 +0000
commitf28e37c4483fbe21f78fbe025090e2b63257a00e (patch)
tree01708f0fb5b6d68593999f79ff886045af80597e /thread_pthread.ci
parent5638529195398ef10d3e02053cbde44a5c2ff2da (diff)
downloadruby-f28e37c4483fbe21f78fbe025090e2b63257a00e.tar.gz
ruby-f28e37c4483fbe21f78fbe025090e2b63257a00e.tar.xz
ruby-f28e37c4483fbe21f78fbe025090e2b63257a00e.zip
* thread.c (thread_join): pthread_t may not be pointer.
* thread_pthread.ci (ubf_select_each): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.ci')
-rw-r--r--thread_pthread.ci2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.ci b/thread_pthread.ci
index 0f91a8606..cd5e05bde 100644
--- a/thread_pthread.ci
+++ b/thread_pthread.ci
@@ -301,7 +301,7 @@ ubf_pthread_cond_signal(rb_thread_t *th)
static void
ubf_select_each(rb_thread_t *th)
{
- thread_debug("ubf_select_each (%p)\n", th->thread_id);
+ thread_debug("ubf_select_each (%p)\n", (void*)th->thread_id);
if (th) {
pthread_kill(th->thread_id, SIGVTALRM);
}