Drizzled Public API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
os0proc.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (C) 1995, 2009, Innobase Oy. All Rights Reserved.
4
5
This program is free software; you can redistribute it and/or modify it under
6
the terms of the GNU General Public License as published by the Free Software
7
Foundation; version 2 of the License.
8
9
This program is distributed in the hope that it will be useful, but WITHOUT
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License along with
14
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15
St, Fifth Floor, Boston, MA 02110-1301 USA
16
17
*****************************************************************************/
18
19
/**************************************************/
27
#pragma once
28
#ifndef os0proc_h
29
#define os0proc_h
30
31
#include "univ.i"
32
33
#ifdef UNIV_LINUX
34
#include <sys/ipc.h>
35
#include <sys/shm.h>
36
#endif
37
38
typedef
void
* os_process_t;
39
typedef
unsigned
long
int
os_process_id_t;
40
41
extern
ibool os_use_large_pages;
42
/* Large page size. This may be a boot-time option on some platforms */
43
extern
ulint os_large_page_size;
44
45
/****************************************************************/
51
UNIV_INTERN
52
ulint
53
os_proc_get_number
(
void
);
54
/*====================*/
55
/****************************************************************/
58
UNIV_INTERN
59
void
*
60
os_mem_alloc_large
(
61
/*===============*/
62
ulint* n);
63
/****************************************************************/
65
UNIV_INTERN
66
void
67
os_mem_free_large
(
68
/*==============*/
69
void
*ptr,
71
ulint
size
);
74
#ifndef UNIV_NONINL
75
#include "os0proc.ic"
76
#endif
77
78
#endif
plugin
innobase
include
os0proc.h
Generated on Tue Oct 29 2013 17:05:46 for drizzle by
1.8.4