diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-16 16:57:03 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-16 16:57:03 +0000 |
commit | b01b19905291555674f9069873b13f30848bf66f (patch) | |
tree | 11b8fba7ff3dac9098f513dcb64c01ef238c0785 /thread.c | |
parent | bfce3d10d7cca1d1c52aafb9c3766acc07383b79 (diff) |
* thread_pthread.c (thread_create_core): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -652,7 +652,7 @@ thread_create_core(VALUE thval, VALUE args, VALUE (*fn)(ANYARGS)) err = native_thread_create(th); if (err) { th->status = THREAD_KILLED; - rb_raise(rb_eThreadError, "can't create Thread (%d)", err); + rb_raise(rb_eThreadError, "can't create Thread: %s", strerror(err)); } st_insert(th->vm->living_threads, thval, (st_data_t) th->thread_id); return thval; |