00001 /* 00002 MULTITHREAD.hpp - generic interface for multithreading primitives 00003 00004 Copyright (C) Lumiera.org 00005 2008, Christian Thaeter <ct@pipapo.org> 00006 Hermann Vosseler <Ichthyostega@web.de> 00007 00008 This program is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU General Public License as 00010 published by the Free Software Foundation; either version 2 of the 00011 License, or (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program; if not, write to the Free Software 00020 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00021 00022 */ 00023 00024 00025 00026 #ifndef LUMIERA_MULTITHREAD_H 00027 #define LUMIERA_MULTITHREAD_H 00028 00029 #include "proc/nobugcfg.hpp" 00030 #include "common/util.hpp" 00031 00032 00033 namespace lumiera 00034 { 00035 00043 struct Thread 00044 { 00045 template<class X> 00046 class Lock 00047 { 00048 public: 00049 Lock() { TODO ("aquire Thread Lock for Class"); } 00050 Lock(X*) { TODO ("aquire Thread Lock for Instance"); } 00051 ~Lock() { TODO ("release Thread Lock"); } 00052 }; 00053 }; 00054 00055 00056 } // namespace lumiera 00057 #endif
1.5.6