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