mariadb/libmysqld/examples
Vladislav Vaintroub e6090f10bb Windows improvements : manual backport of
htttp://lists.mysql.com/commits/50957?f=plain
      
Always use TLS functions instead of __declspec(thread) to access 
thread local storage variables.
The change removes the necessity to recomplile the same source
files twice -  with USE_TLS for DLLs and without USE_TLS for EXEs.
Real benefit of this change is better readability and maintainability
of TLS functions within MySQL.
              
There is a performance loss using TlsXXX functions compared to __declspec 
but the difference is negligible in practice. In a sysbench-like benchmark 
I ran with with TlsGetValue, pthread_[get|set]_specific was called 600000000 
times and took 0.17sec of total 35min CPU time, or 0.008%.
2009-09-30 03:22:57 +02:00
..
builder-sample Fixed compilations problems and warnings on windows 2007-02-23 22:48:15 +02:00
CMakeLists.txt Windows improvements : manual backport of 2009-09-30 03:22:57 +02:00
Makefile.am Bug #38181 Please print more debug info when tests fail 2008-08-04 21:54:44 +02:00
test-run embedded-mode tests fixed 2006-11-13 10:39:15 +04:00