diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-11 06:56:57 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-11 06:56:57 +0000 |
commit | 51e6b9d6aea533dbe9f9d224864d85588502b3eb (patch) | |
tree | f3a1eebfa386b618eb8fba493081d85363dc3590 /method.h | |
parent | c002a3c4dd5c6755c2bdde780af44a61a53660c4 (diff) | |
download | ruby-51e6b9d6aea533dbe9f9d224864d85588502b3eb.tar.gz |
* configure.in: define SET_THREAD_NAME if it has pthread_set_name_np
for FreeBSD, and don't define it if both pthread_setname_np
and pthread_set_name_np don't exist.
* thread_pthread.c (SET_THREAD_NAME): don't define if they don't exist.
* thread_pthread.c (native_set_thread_name): run if SET_THREAD_NAME
is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'method.h')
0 files changed, 0 insertions, 0 deletions