SHOGUN  v3.0.0
 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 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 Machine Learning Toolbox - Documentation