00001 #ifndef bacithread_h 00002 #define bacithread_h 00003 00004 /******************************************************************************* 00005 * ALMA - Atacama Large Millimiter Array 00006 * (c) European Southern Observatory, 2004 00007 * 00008 *This library is free software; you can redistribute it and/or 00009 *modify it under the terms of the GNU Lesser General Public 00010 *License as published by the Free Software Foundation; either 00011 *version 2.1 of the License, or (at your option) any later version. 00012 * 00013 *This library 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 GNU 00016 *Lesser General Public License for more details. 00017 * 00018 *You should have received a copy of the GNU Lesser General Public 00019 *License along with this library; if not, write to the Free Software 00020 *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 * 00022 * "@(#) $Id: baciThread.h,v 1.102 2007/06/12 08:02:23 nbarriga Exp $" 00023 * 00024 * who when what 00025 * -------- ---------- ---------------------------------------------- 00026 * almamgr 2000-12-03 created 00027 */ 00028 00034 #include <baciExport.h> 00035 #include <acsThreadBase.h> 00036 #include <acsutilTimeStamp.h> 00037 00038 namespace baci { 00039 00040 /* 00041 typdefs for backward compatiblity 00042 */ 00043 typedef ACS::ThreadBase BACIThread; 00044 typedef ACS::ThreadManagerBase BACIThreadManager; 00045 typedef ACS::ThreadBaseParameter BACIThreadParameter; 00046 typedef ACS::ThreadSyncGuard ThreadSyncGuard; 00047 00048 #define NullBACIThread NullThreadBase 00049 // for redirection of call getBACIThread to getThreadBase 00050 #define getBACIThread getThreadBase 00051 #define BACIMutex ACE_Recursive_Thread_Mutex 00052 }; //namespace baci { 00053 00054 #endif 00055 00056 00057 00058 00059