1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix for SAFE_MUTEX on windows

Docs/manual.texi:
  cleanup
include/my_pthread.h:
  Fix for SAFEMUTEX under windows
mysys/my_thr_init.c:
  Fix for SAFEMUTEX under windows
mysys/my_winthread.c:
  Fix for SAFEMUTEX under windows
mysys/thr_mutex.c:
  Fix for SAFEMUTEX under windows
sql/mysqld.cc:
  Remove unused code
sql/sql_table.cc:
  Fix filename comparison on Windows
support-files/Makefile.am:
  Added magic file
This commit is contained in:
unknown
2000-09-20 19:37:07 +03:00
parent 5993b4947b
commit 0d788b1e91
9 changed files with 46 additions and 21 deletions

View File

@ -85,6 +85,7 @@ void pthread_exit(unsigned A); /* was #define pthread_exit(A) ExitThread(A)*/
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE
#ifdef USE_TLS /* For LIBMYSQL.DLL */
#undef SAFE_MUTEX /* This will cause conflicts */
#define pthread_key(T,V) DWORD V
#define pthread_key_create(A,B) ((*A=TlsAlloc())==0xFFFFFFFF)
#define pthread_getspecific(A) (TlsGetValue(A))