00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #include "JackGlobals.h"
00021
00022 namespace Jack
00023 {
00024
00025 bool JackGlobals::fVerbose = 0;
00026
00027 jack_tls_key JackGlobals::fRealTime;
00028 static bool gKeyRealtimeInitialized = jack_tls_allocate_key(&JackGlobals::fRealTime);
00029
00030 jack_tls_key JackGlobals::fKeyLogFunction;
00031 static bool fKeyLogFunctionInitialized = jack_tls_allocate_key(&JackGlobals::fKeyLogFunction);
00032
00033 JackMutex* JackGlobals::fOpenMutex = new JackMutex();
00034 bool JackGlobals::fServerRunning = false;
00035 JackClient* JackGlobals::fClientTable[CLIENT_NUM] = {};
00036
00037 #ifndef WIN32
00038 jack_thread_creator_t JackGlobals::fJackThreadCreator = pthread_create;
00039 #endif
00040
00041 }