* configure.in: pthread_getattr_np is broken on AIX.

More specifically, the stack address and size returned are
  not correct.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
odaira 2015-10-19 23:24:12 +00:00
Родитель cfa2f95476
Коммит 49efa6680c
2 изменённых файлов: 8 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,9 @@
Tue Oct 20 08:12:47 2015 Rei Odaira <Rei.Odaira@gmail.com>
* configure.in: pthread_getattr_np is broken on AIX.
More specifically, the stack address and size returned are
not correct.
Tue Oct 20 05:54:46 2015 Eric Wong <e@80x24.org>
* ext/fiddle/closure.c (callback): static function

Просмотреть файл

@ -2801,11 +2801,12 @@ if test x"$enable_pthread" = xyes; then
AC_DEFINE(NON_SCALAR_THREAD_ID)
fi
AC_CHECK_FUNCS(sched_yield pthread_attr_setinheritsched \
pthread_getattr_np pthread_attr_get_np pthread_attr_getstack\
pthread_attr_get_np pthread_attr_getstack\
pthread_get_stackaddr_np pthread_get_stacksize_np \
thr_stksegment pthread_stackseg_np pthread_getthrds_np \
pthread_cond_init pthread_condattr_setclock pthread_condattr_init \
pthread_sigmask pthread_setname_np pthread_set_name_np)
AS_CASE(["$target_os"],[aix*],[ac_cv_func_pthread_getattr_np=no],[AC_CHECK_FUNCS(pthread_getattr_np)])
if test "${host_os}" = "nacl"; then
ac_cv_func_pthread_attr_init=no
else