Differences From Artifact [960c7cb4a7]:
- File
configure.ac
— part of check-in
[beb77aaea1]
at
2019-08-18 21:32:29
on branch trunk
— configure: Enable threads on AmigaOS and MorphOS
These have been implemented for a while now and seem to work well. (user: js, size: 46125) [annotate] [blame] [check-ins using]
To Artifact [a77d2e4413]:
- File configure.ac — part of check-in [fbe84dc674] at 2019-08-18 22:22:34 on branch trunk — Optimize retain / release on AmigaOS (user: js, size: 46188) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
949 950 951 952 953 954 955 956 957 958 959 960 961 962 | AS_HELP_STRING([--disable-threads], [disable thread support])) AS_IF([test x"$enable_threads" != x"no"], [ AC_MSG_CHECKING(for threads) case "$host_os" in amigaos* | morphos*) AC_MSG_RESULT(Amiga) ;; mingw*) AC_MSG_RESULT(WinAPI) ;; *) AC_MSG_RESULT(POSIX) | > | 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 | AS_HELP_STRING([--disable-threads], [disable thread support])) AS_IF([test x"$enable_threads" != x"no"], [ AC_MSG_CHECKING(for threads) case "$host_os" in amigaos* | morphos*) AC_MSG_RESULT(Amiga) have_amiga_threads="yes" ;; mingw*) AC_MSG_RESULT(WinAPI) ;; *) AC_MSG_RESULT(POSIX) |
︙ | ︙ | |||
1798 1799 1800 1801 1802 1803 1804 | echo "Clang >= 3.2" printf " ** (or the latest Clang release to be able to use all " echo "features)." echo ]) AS_IF([test x"$enable_threads" != x"no" -a x"$atomic_ops" = x"none" \ | | | 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 | echo "Clang >= 3.2" printf " ** (or the latest Clang release to be able to use all " echo "features)." echo ]) AS_IF([test x"$enable_threads" != x"no" -a x"$atomic_ops" = x"none" \ -a x"$have_spinlocks" != x"yes" -a x"$have_amiga_threads" != x"yes"], [ echo printf " ** Warning: You have enabled threads, but neither atomic " echo "operations nor" printf " ** spinlocks are available. Expect *very* poor performance, " echo "as a mutex will" printf " ** be locked for every retain and release! If you don't " echo "need threads, try" echo " ** --disable-threads to work around this problem." echo ]) |