diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-18 23:58:30 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-18 23:58:30 +0000 |
commit | 7a8460ed5a766cad8c95e209c888f0c48adb1b2a (patch) | |
tree | dd9cf5e2bf984c50952a14aadd29282d5f9d25ed /iseq.h | |
parent | 1ad2db3894e9f8fa43a891215d841c8f8ba3aeff (diff) | |
download | ruby-7a8460ed5a766cad8c95e209c888f0c48adb1b2a.tar.gz |
thread_pthread.c (rb_thread_create_mjit): set detach before create
This should be slightly cheaper on NPTL as it does not rely on
atomics to set pd->joinid. We already use pthread_attr_setdetachstate,
so it won't introduce new problems by using a function we did not
use before.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.h')
0 files changed, 0 insertions, 0 deletions