YAP 7.1.0
iglobals.h
1
2 /* This file, iglobals.h, was generated automatically by "yap -L misc/buildlocalglobal"
3 please do not update, update H/GLOBALS instead */
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21static void InitGlobal(void) {
22
23 GLOBAL_Initialised = FALSE;
24 GLOBAL_InitialisedFromPL = FALSE;
25 GLOBAL_PL_Argc = 0;
26 GLOBAL_PL_Argv = NULL;
27 GLOBAL_FAST_BOOT_FLAG = false;
28
29 GLOBAL_HaltHooks = NULL;
30 GLOBAL_JIT_finalizer = NULL;
31
32 GLOBAL_AllowLocalExpansion = TRUE;
33 GLOBAL_AllowGlobalExpansion = TRUE;
34 GLOBAL_AllowTrailExpansion = TRUE;
35 GLOBAL_SizeOfOverflow = 0;
36
37 GLOBAL_AGcThreshold = 10000;
38 GLOBAL_AGCHook = NULL;
39
40#if THREADS
41
42 GLOBAL_NOfThreads = 1;
43
44 GLOBAL_NOfThreadsCreated = 1;
45
46 GLOBAL_ThreadsTotalTime = 0L;
47
48 INIT_LOCK(GLOBAL_ThreadHandlesLock);
49#endif
50#if defined(YAPOR) || defined(THREADS)
51
52 INIT_LOCK(GLOBAL_BGL);
53#endif
54#if defined(YAPOR) || defined(TABLING)
55
56#endif /* YAPOR || TABLING */
57
58
59
60#if defined(THREADS)
61
62 GLOBAL_named_mboxes = NULL;
63 INIT_LOCK(GLOBAL_mboxq_lock);
64 GLOBAL_mbox_count = 0;
65
66#endif /* THREADS */
67
68
69#if defined(THREADS)||defined(YAPOR)
70 INIT_LOCK(GLOBAL_StreamDescLock);
71#endif
72
73
74
75
76#ifdef COROUTINING
77
78
79#endif
80
81
82
83
84 GLOBAL_tot_agc_time = 0;
85
86 GLOBAL_tot_agc_recovered = 0;
87
88#if HAVE_MMAP
89 GLOBAL_mmap_arrays = NULL;
90#endif
91#ifdef DEBUG
92
93
94
95
96
97#endif
98#if defined(COFF) || defined(A_OUT)
99
100
101#endif
102 GLOBAL_OpaqueHandlersCount = 0;
103 GLOBAL_OpaqueHandlers = NULL;
104#if __simplescalar__
105
106#endif
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121 GLOBAL_DIRNAME = NULL;
122#if LOW_PROF
123 GLOBAL_ProfilerOn = FALSE;
124 GLOBAL_FProf = NULL;
125 GLOBAL_FPreds = NULL;
126#endif /* LOW_PROF */
127
128#if THREADS
129 GLOBAL_FreeMutexes = NULL;
130 GLOBAL_mutex_backbone = NULL;
131 INIT_LOCK(GLOBAL_MUT_ACCESS);
132#endif
133 GLOBAL_Home = NULL;
134
135 GLOBAL_CharConversionTable = NULL;
136 GLOBAL_CharConversionTable2 = NULL;
137
138 GLOBAL_MaxPriority = 1200;
139
140 GLOBAL_FileAliases = Yap_InitStandardAliases();
141
142
143 GLOBAL_VFS = Yap_InitAssetManager();
144 GLOBAL_cwd = NULL;
145}
struct AliasDescS * GLOBAL_FileAliases
alias table access
Definition: h0globals.h:140
VFS_t * Yap_InitAssetManager(void)
Definition: assets.c:231