00001 /****************************************************************** 00002 * CAVERNsoft 00003 * Copyright (C) 1994-2000 Electronic Visualization Laboratory, 00004 * all rights reserved 00005 * By Jason Leigh, Yong-joo Cho, Naveen Krishnaprasad, Chris Scharver, 00006 * Stuart Bailey, Atul Nayak, Shalini Venkatraman 00007 * University of Illinois at Chicago 00008 * 00009 * This publication and its text and code may not be copied for commercial 00010 * use without the express written permission of the University of Illinois 00011 * at Chicago 00012 * The contributors disclaim any representation of warranty: use this 00013 * code at your own risk. 00014 * Direct questions, comments etc to cavern@evl.uic.edu 00015 ******************************************************************/ 00016 #ifndef _CAVERN_INIT 00017 #define _CAVERN_INIT 00018 00019 #ifdef WIN32 00020 #include <windows.h> 00021 #include <winsock.h> 00022 00023 extern CRITICAL_SECTION Win32StdioLock; 00024 extern LARGE_INTEGER Frequency; 00025 extern LARGE_INTEGER StartCounter; 00026 extern struct timeval StartTimeVal; 00027 extern int UseFTimeOnly; 00028 #endif 00029 00030 #if defined(CAVERN_DO_NOT_USE_GLOBUS) && defined(CAVERN_USE_PTHREADS) 00031 #include <pthread.h> 00032 00033 extern pthread_mutex_t pthread_stdio_lock; 00034 #endif 00035 00041 void CAVERNinit(); 00042 00046 void CAVERNexit(); 00047 00048 #endif