diff options
author | unknown <monty@donna.mysql.fi> | 2001-04-18 23:47:11 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.fi> | 2001-04-18 23:47:11 +0300 |
commit | 9d36f27bb021a3496e3b08c91f62a27daaad7664 (patch) | |
tree | 62925f613305f153cac7b3281ddea83336002c0d /acinclude.m4 | |
parent | dc72a9d59abc5291f68dc0e27a9852908d5bf064 (diff) | |
download | mariadb-git-9d36f27bb021a3496e3b08c91f62a27daaad7664.tar.gz |
Added test for PTHREAD_YIELD
Removed test of default master parameter
Don't lock locked tables in REPAIR
Changed optimzation for SELECT * from table,table ORDER BY keypart LIMIT
BitKeeper/deleted/.del-have_default_master.inc~a54c86e65a6c4af:
Delete: mysql-test/include/have_default_master.inc
BitKeeper/deleted/.del-have_default_master.require~1465255ffdaf82f:
Delete: mysql-test/r/have_default_master.require
Docs/manual.texi:
Changelog for 3.23.38
acconfig.h:
Added test for PTHREAD_YIELD
acinclude.m4:
Added test for PTHREAD_YIELD
configure.in:
Added test for PTHREAD_YIELD
innobase/os/os0thread.c:
Added test for PTHREAD_YIELD
mysql-test/r/lock.result:
Added test of lock bug
mysql-test/t/lock.test:
Added test of lock bug
mysql-test/t/rpl000014.test:
Removed test of default master parameter
mysql-test/t/rpl000015.test:
Removed test of default master parameter
mysql-test/t/rpl000016.test:
Removed test of default master parameter
sql/ha_myisam.cc:
Don't lock locked tables in REPAIR
sql/sql_select.cc:
Changed optimzation for SELECT * from table,table ORDER BY keypart LIMIT
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 497958c3f21..34e5ce9e873 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -196,6 +196,42 @@ then fi ]) + +AC_DEFUN(MYSQL_PTHREAD_YIELD, +[AC_CACHE_CHECK([if pthread_yield takes zero arguments], ac_cv_pthread_yield_zero_arg, +[AC_TRY_COMPILE([#define _GNU_SOURCE +#include <pthread.h> +#ifdef __cplusplus +extern "C" +#endif +], +[ + pthread_yield(); +], ac_cv_pthread_yield_zero_arg=yes, ac_cv_pthread_yield_zero_arg=yeso)]) +if test "$ac_cv_pthread_yield_zero_arg" = "yes" +then + AC_DEFINE(HAVE_PTHREAD_YIELD_ZERO_ARG) +fi +] +[AC_CACHE_CHECK([if pthread_yield takes 1 argument], ac_cv_pthread_yield_one_arg, +[AC_TRY_COMPILE([#define _GNU_SOURCE +#include <pthread.h> +#ifdef __cplusplus +extern "C" +#endif +], +[ + pthread_yield(0); +], ac_cv_pthread_yield_one_arg=yes, ac_cv_pthread_yield_one_arg=no)]) +if test "$ac_cv_pthread_yield_one_arg" = "yes" +then + AC_DEFINE(HAVE_PTHREAD_YIELD_ONE_ARG) +fi +] +) + + + #---END: AC_DEFUN(MYSQL_CHECK_FP_EXCEPT, |