SHOGUN
v3.2.0
Main Page
Modules
Classes
Files
File List
File Members
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
namespace
shogun
12
{
14
class
CLock
15
{
16
public
:
18
CLock
();
20
~CLock
();
21
23
void
lock
();
25
void
unlock
();
26
27
private
:
29
void
* lock_object;
30
};
31
}
32
#endif // __LOCK_H__
shogun::CLock::~CLock
~CLock()
Definition:
Lock.cpp:49
shogun::CLock::unlock
void unlock()
Definition:
Lock.cpp:64
shogun::CLock
Class Lock used for synchronization in concurrent programs.
Definition:
Lock.h:14
shogun::CLock::CLock
CLock()
Definition:
Lock.cpp:41
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:16
shogun::CLock::lock
void lock()
Definition:
Lock.cpp:57
SHOGUN
Machine Learning Toolbox - Documentation