2015-09-21 23:05:36 +01:00
|
|
|
|
|
|
|
/* This file, iglobals.h, was generated automatically by "yap -L misc/buildlocalglobal"
|
2016-04-26 15:33:16 +01:00
|
|
|
please do not update, update H/GLOBALS instead */
|
2014-06-22 17:35:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void InitGlobal(void) {
|
|
|
|
|
|
|
|
GLOBAL_Initialised = FALSE;
|
|
|
|
GLOBAL_InitialisedFromPL = FALSE;
|
|
|
|
GLOBAL_PL_Argc = 0;
|
|
|
|
GLOBAL_PL_Argv = NULL;
|
2015-06-19 00:56:24 +01:00
|
|
|
GLOBAL_FAST_BOOT_FLAG = false;
|
2014-06-22 17:35:05 +01:00
|
|
|
|
|
|
|
GLOBAL_HaltHooks = NULL;
|
2015-01-26 04:02:46 +00:00
|
|
|
GLOBAL_JIT_finalizer = NULL;
|
2014-06-22 17:35:05 +01:00
|
|
|
|
|
|
|
GLOBAL_AllowLocalExpansion = TRUE;
|
|
|
|
GLOBAL_AllowGlobalExpansion = TRUE;
|
|
|
|
GLOBAL_AllowTrailExpansion = TRUE;
|
|
|
|
GLOBAL_SizeOfOverflow = 0;
|
|
|
|
|
|
|
|
GLOBAL_AGcThreshold = 10000;
|
|
|
|
GLOBAL_AGCHook = NULL;
|
|
|
|
|
|
|
|
#if THREADS
|
|
|
|
|
|
|
|
GLOBAL_NOfThreads = 1;
|
|
|
|
|
|
|
|
GLOBAL_NOfThreadsCreated = 1;
|
|
|
|
|
|
|
|
GLOBAL_ThreadsTotalTime = 0L;
|
|
|
|
|
|
|
|
INIT_LOCK(GLOBAL_ThreadHandlesLock);
|
2016-02-29 03:13:23 +00:00
|
|
|
#endif
|
2014-06-22 17:35:05 +01:00
|
|
|
#if defined(YAPOR) || defined(THREADS)
|
|
|
|
|
|
|
|
INIT_LOCK(GLOBAL_BGL);
|
|
|
|
#endif
|
|
|
|
#if defined(YAPOR) || defined(TABLING)
|
|
|
|
|
|
|
|
#endif /* YAPOR || TABLING */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(THREADS)
|
|
|
|
|
2014-10-13 12:34:52 +01:00
|
|
|
GLOBAL_named_mboxes = NULL;
|
|
|
|
INIT_LOCK(GLOBAL_mboxq_lock);
|
2014-10-14 15:53:24 +01:00
|
|
|
GLOBAL_mbox_count = 0;
|
|
|
|
|
2014-06-22 17:35:05 +01:00
|
|
|
#endif /* THREADS */
|
|
|
|
|
2015-06-19 00:56:24 +01:00
|
|
|
|
2015-11-11 17:15:14 +00:00
|
|
|
#if defined(THREADS)||defined(YAPOR)
|
2015-07-23 01:19:35 +01:00
|
|
|
INIT_LOCK(GLOBAL_StreamDescLock);
|
|
|
|
#endif
|
2015-06-19 00:56:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2014-06-22 17:35:05 +01:00
|
|
|
|
|
|
|
#ifdef COROUTINING
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GLOBAL_tot_agc_time = 0;
|
|
|
|
|
|
|
|
GLOBAL_tot_agc_recovered = 0;
|
|
|
|
|
|
|
|
#if HAVE_MMAP
|
|
|
|
GLOBAL_mmap_arrays = NULL;
|
|
|
|
#endif
|
|
|
|
#ifdef DEBUG
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#if defined(COFF) || defined(A_OUT)
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
GLOBAL_OpaqueHandlersCount = 0;
|
|
|
|
GLOBAL_OpaqueHandlers = NULL;
|
|
|
|
#if __simplescalar__
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GLOBAL_DIRNAME = NULL;
|
|
|
|
#if LOW_PROF
|
|
|
|
GLOBAL_ProfilerOn = FALSE;
|
|
|
|
GLOBAL_FProf = NULL;
|
|
|
|
GLOBAL_FPreds = NULL;
|
|
|
|
#endif /* LOW_PROF */
|
2014-11-27 10:02:04 +00:00
|
|
|
|
|
|
|
#if THREADS
|
|
|
|
GLOBAL_FreeMutexes = NULL;
|
|
|
|
GLOBAL_mutex_backbone = NULL;
|
|
|
|
INIT_LOCK(GLOBAL_MUT_ACCESS);
|
|
|
|
#endif
|
2014-12-04 07:59:30 +00:00
|
|
|
GLOBAL_Home = NULL;
|
2015-06-19 00:56:24 +01:00
|
|
|
|
|
|
|
GLOBAL_CharConversionTable = NULL;
|
|
|
|
GLOBAL_CharConversionTable2 = NULL;
|
|
|
|
|
2015-12-15 09:28:43 +00:00
|
|
|
GLOBAL_MaxPriority = 1200;
|
2016-03-29 02:02:43 +01:00
|
|
|
|
|
|
|
GLOBAL_FileAliases = Yap_InitStandardAliases();
|
|
|
|
|
|
|
|
|
2016-07-31 16:25:46 +01:00
|
|
|
GLOBAL_VFS = Yap_InitAssetManager();
|
2014-06-22 17:35:05 +01:00
|
|
|
}
|