Eneboo - Documentación para desarrolladores
src/libmysql_macosx/mysys_priv.h
Ir a la documentación de este archivo.
00001 /* Copyright (C) 2000 MySQL AB
00002 
00003    This program is free software; you can redistribute it and/or modify
00004    it under the terms of the GNU General Public License as published by
00005    the Free Software Foundation; either version 2 of the License, or
00006    (at your option) any later version.
00007 
00008    This program is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011    GNU General Public License for more details.
00012 
00013    You should have received a copy of the GNU General Public License
00014    along with this program; if not, write to the Free Software
00015    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
00016 
00017 #include <my_global.h>
00018 #include <my_sys.h>
00019 
00020 #ifdef USE_SYSTEM_WRAPPERS
00021 #include "system_wrappers.h"
00022 #endif
00023 
00024 #ifdef HAVE_GETRUSAGE
00025 #include <sys/resource.h>
00026 #endif
00027 
00028 #ifdef THREAD
00029 #include <my_pthread.h>
00030 extern pthread_mutex_t THR_LOCK_malloc, THR_LOCK_open, THR_LOCK_keycache;
00031 extern pthread_mutex_t THR_LOCK_lock, THR_LOCK_isam, THR_LOCK_net;
00032 extern pthread_mutex_t THR_LOCK_charset;
00033 #else
00034 #include <my_no_pthread.h>
00035 #endif
00036 
00037 /*
00038   EDQUOT is used only in 3 C files only in mysys/. If it does not exist on
00039   system, we set it to some value which can never happen.
00040 */
00041 #ifndef EDQUOT
00042 #define EDQUOT (-1)
00043 #endif
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'