00001 /*************************************************************************** 00002 pthreadlist.h 00003 ------------------- 00004 begin : Wed Jan 23 2002 00005 copyright : (C) 2002 by Christian Hoenig & Gunter Ohrner 00006 email : pdepp@CustomCDROM.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00023 /* 00024 Define all macros unconditionally. That does no harm but helps 00025 "--enable-final" builds where all c-files are concatenated together 00026 */ 00027 00028 00029 #undef MlCargo 00030 00031 #define MlCargo pthread_t 00032 00033 #undef ML_LIST_NAME 00034 00035 #define ML_LIST_NAME PThreadList 00036 00037 #undef ML_FUNC_PFX 00038 00039 #define ML_FUNC_PFX pthrdList 00040 00041 /* #define ML_CREATE_CARGO(cargo) cargo */ 00042 00043 #undef ML_COPY_CARGO 00044 /*#define ML_COPY_CARGO(dest, source) */ 00045 00046 #undef ML_FREE_CARGO 00047 /* #define ML_FREE_CARGO(cargo) */ 00048 00049 00050 #ifndef PTHREADLIST_H_FLAG 00051 #define PTHREADLIST_H_FLAG 00052 00053 #include <pthread.h> 00054 00055 #include "mlist_tmpl_h.inc" 00056 00057 #endif