4 * Auteur : Ivan DUTKA-MALEN - EDF R&D
5 * Mail : mailto:ivan.dutka-malen@der.edf.fr
6 * Date : Fri Nov 14 11:00:39 2003
16 #define LOCK_IO { pthread_mutex_lock(&Batch::IOMutex) ; }
17 #define UNLOCK_IO { pthread_mutex_unlock(&Batch::IOMutex) ; }
18 #define UNDER_LOCK(statement) { LOCK_IO ; { statement ; } ; UNLOCK_IO ; }
22 extern pthread_mutex_t IOMutex;