SHOGUN
4.2.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
shogun
lib
Lock.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Copyright (C) 2013 Soeren Sonnenburg
8
*/
9
#ifndef __LOCK_H__
10
#define __LOCK_H__
11
12
#include <
shogun/lib/config.h
>
13
14
namespace
shogun
15
{
17
class
CLock
18
{
19
public
:
21
CLock
();
23
~CLock
();
24
26
void
lock
();
28
void
unlock
();
29
30
private
:
32
void
* lock_object;
33
};
34
}
35
#endif // __LOCK_H__
shogun::CLock::~CLock
~CLock()
Definition:
Lock.cpp:49
config.h
shogun::CLock::unlock
void unlock()
Definition:
Lock.cpp:64
shogun::CLock
Class Lock used for synchronization in concurrent programs.
Definition:
Lock.h:17
shogun::CLock::CLock
CLock()
Definition:
Lock.cpp:41
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:18
shogun::CLock::lock
void lock()
Definition:
Lock.cpp:57
SHOGUN
Machine Learning Toolbox - Documentation