mariadb/ut
vasil 3c9bec1100 branches/zip:
Implement a check whether pthread_t objects can be used by GCC atomic
builtin functions. This check is implemented in plug.in and defines the
macro HAVE_ATOMIC_PTHREAD_T. This macro is checked in univ.i and the
relevant part of the code enabled (the one that uses GCC atomics against
pthread_t objects).

In addition to this, the same program that is compiled as part of the
plug.in check is added in ut/ut0auxconf.c. In the InnoDB Plugin source
archives that are shipped to the users, a generated Makefile.in is added.
That Makefile.in will be modified to compile ut/ut0auxconf.c and define
the macro HAVE_ATOMIC_PTHREAD_T if the compilation succeeds. I.e.
Makefile.in will emulate the work that is done by plug.in. This is done in
order to make the check happen and HAVE_ATOMIC_PTHREAD_T eventually
defined without regenerating MySQL's ./configure from
./storage/innobase/plug.in. The point is not to ask users to install the
autotools and regenerate ./configure.

rb://95

Approved by:	Marko
2009-03-05 14:38:59 +00:00
..
ut0auxconf.c branches/zip: 2009-03-05 14:38:59 +00:00
ut0byte.c branches/zip: 2009-02-17 10:12:56 +00:00
ut0dbg.c branches/zip: 2009-02-17 10:12:56 +00:00
ut0list.c branches/zip: 2009-02-17 10:12:56 +00:00
ut0mem.c branches/zip: ut_mem_init(): Add the assertion !ut_mem_block_list_inited. 2009-02-23 22:11:11 +00:00
ut0rnd.c branches/zip: 2009-02-17 10:12:56 +00:00
ut0ut.c branches/zip: 2009-02-17 10:12:56 +00:00
ut0vec.c branches/zip: 2009-02-17 10:14:04 +00:00
ut0wqueue.c branches/zip: 2009-02-17 10:14:04 +00:00