libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo es el conjunto de objetos y funciones, que permiten ejecutar las operaciones básicas de la plataforma Moldeo, y que compone su núcleo.
Página principal
Páginas relacionadas
Módulos
Namespaces
Clases
Archivos
Lista de archivos
Miembros de los ficheros
Todo
Clases
Namespaces
Archivos
Funciones
Variables
'typedefs'
Enumeraciones
Valores de enumeraciones
Amigas
'defines'
Grupos
Páginas
moLock.h
Ir a la documentación de este archivo.
1
/*******************************************************************************
2
3
moLock.h
4
5
****************************************************************************
6
* *
7
* This source is free software; you can redistribute it and/or modify *
8
* it under the terms of the GNU General Public License as published by *
9
* the Free Software Foundation; either version 2 of the License, or *
10
* (at your option) any later version. *
11
* *
12
* This code is distributed in the hope that it will be useful, but *
13
* WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
15
* General Public License for more details. *
16
* *
17
* A copy of the GNU General Public License is available on the World *
18
* Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also *
19
* obtain it by writing to the Free Software Foundation, *
20
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
21
* *
22
****************************************************************************
23
24
Copyright(C) 2006 Fabricio Costa
25
26
Authors:
27
Fabricio Costa
28
29
Class:
30
moLock
31
32
Description:
33
Mutex Lock-Unlockin class implementation
34
35
*******************************************************************************/
36
37
#include "
moTypes.h
"
38
39
#ifndef __MO_LOCK_H
40
#define __MO_LOCK_H
41
43
47
typedef
void
*
moBoostMutex
;
48
typedef
void
*
moBoostLock
;
49
50
class
LIBMOLDEO_API
moLock
{
51
52
public
:
53
moLock
();
54
~
moLock
();
55
56
bool
Lock();
57
58
bool
Unlock();
59
60
private
:
61
moBoostMutex
m_mutex;
62
moBoostLock
m_lock;
63
};
64
65
#endif
66
moLock
Definition:
moLock.h:50
moTypes.h
moBoostLock
void * moBoostLock
Definition:
moLock.h:48
LIBMOLDEO_API
#define LIBMOLDEO_API
Definition:
moTypes.h:180
moBoostMutex
void * moBoostMutex
implementación de bloqueo de ejecución, para el manejo asincrónico, primera versión basda en SDL_mute...
Definition:
moLock.h:47
libmoldeo
moLock.h
Generado el Jueves, 18 de Enero de 2018 13:10:27 para libmoldeo (Moldeo 1.0 Core) por
1.8.8