This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/H/hglobals.h

56 lines
794 B
C
Raw Normal View History

2011-03-23 16:45:47 +00:00
/* This file, hglobals.h, was generated automatically by "yap -L misc/buildlocalglobal"
2011-03-23 16:45:47 +00:00
please do not update, update misc/GLOBALS instead */
typedef struct global_data {
2011-03-23 16:45:47 +00:00
int Initialised_;
int InitialisedFromPL_;
int PL_Argc_;
char** PL_Argv_;
struct halt_hook* HaltHooks_;
int AllowLocalExpansion_;
int AllowGlobalExpansion_;
int AllowTrailExpansion_;
UInt SizeOfOverflow_;
UInt AGcThreshold_;
Agc_hook AGCHook_;
2011-03-23 16:45:47 +00:00
#if THREADS
UInt NOfThreads_;
2011-03-23 16:45:47 +00:00
UInt NOfThreadsCreated_;
2011-03-23 16:45:47 +00:00
UInt ThreadsTotalTime_;
2011-03-23 16:45:47 +00:00
lockvar ThreadHandlesLock_;
#endif
2011-03-23 16:45:47 +00:00
#if defined(YAPOR) || defined(THREADS)
lockvar BGL_;
2011-03-23 16:45:47 +00:00
#endif
#if defined(YAPOR) || defined(TABLING)
struct global_optyap_data optyap_data_;
#endif /* YAPOR || TABLING */
2011-03-23 16:45:47 +00:00
} w_shared;