Differences From Artifact [dfcebab81d]:
- File configure.ac — part of check-in [80fae284b9] at 2016-01-05 17:09:10 on branch trunk — configure: Only link -lpthread if available (user: js, size: 29719) [annotate] [blame] [check-ins using]
To Artifact [7398d6725d]:
- File configure.ac — part of check-in [a65818a67f] at 2016-01-05 17:15:46 on branch trunk — configure: Check for pthread_attr_setinheritsched (user: js, size: 29767) [annotate] [blame] [check-ins using]
︙ | |||
605 606 607 608 609 610 611 612 613 614 615 616 617 618 | 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 | + + | [Whether we have pthread spinlocks]) ]) AC_CHECK_FUNC(sched_yield, [ AC_DEFINE(OF_HAVE_SCHED_YIELD, 1, [Whether we have sched_yield()]) ]) AC_CHECK_FUNCS(pthread_attr_setinheritsched) AC_CHECK_HEADERS(pthread_np.h, [], [], [#include <pthread.h>]) AC_CHECK_FUNCS(pthread_set_name_np pthread_setname_np, break) ;; esac AC_DEFINE(OF_HAVE_THREADS, 1, [Whether we have threads]) |
︙ |