00001 /******************************************************************************* 00002 * Types.h 00003 * 00004 * (C) 2006 AG Aktives Sehen <agas@uni-koblenz.de> 00005 * Universitaet Koblenz-Landau 00006 * 00007 * Information on Code Review state: 00008 * §Author: R5; DevelTest: Date; Reviewer: R5; Review: Date; State: OK§ 00009 * 00010 * Additional information: 00011 * $Id: Types.h 44313 2011-04-06 22:46:28Z agas $ 00012 ******************************************************************************/ 00013 00014 00015 #ifndef TYPES_H 00016 #define TYPES_H 00017 00018 00019 #define HAVE_PTHREAD_H 00020 #define POSIX_THREADS 00021 00022 #ifdef HAVE_PTHREAD_H 00023 # include <pthread.h> 00024 #endif 00025 00026 00027 #ifdef POSIX_THREADS 00028 typedef pthread_mutex_t TMutex; 00029 typedef pthread_cond_t TCondition; 00030 typedef pthread_t TThread; 00031 #endif 00032 00033 00034 /*----------------------------------------------------------------------------*/ 00044 /*----------------------------------------------------------------------------*/ 00045 00046 00047 #endif