SHOGUN
4.1.0
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
lib
Lock.h
浏览该文件的文档.
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
机器学习工具包 - 项目文档