SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 Machine Learning Toolbox - Documentation