SHOGUN
v3.2.0
|
00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 3 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * Copyright (C) 2013 Soeren Sonnenburg 00008 */ 00009 #ifndef __LOCK_H__ 00010 #define __LOCK_H__ 00011 namespace shogun 00012 { 00014 class CLock 00015 { 00016 public: 00018 CLock(); 00020 ~CLock(); 00021 00023 void lock(); 00025 void unlock(); 00026 00027 private: 00029 void* lock_object; 00030 }; 00031 } 00032 #endif // __LOCK_H__