X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fdomain-internals.h;h=25ed47e011220ca46d82ed85978430066536ca20;hb=9910c4b3644e05abea28783527de3235132ff584;hp=a3989ab74aad127f831b879358a0de850accc5dc;hpb=8c32f9c042d4e05acf8d712dcb9f00b8362da55f;p=mono.git diff --git a/mono/metadata/domain-internals.h b/mono/metadata/domain-internals.h index a3989ab74aa..25ed47e0112 100644 --- a/mono/metadata/domain-internals.h +++ b/mono/metadata/domain-internals.h @@ -315,6 +315,7 @@ struct _MonoDomain { MonoObject *ephemeron_tombstone; /* new MonoType [0] */ MonoArray *empty_types; + MonoString *empty_string; /* * The fields between FIRST_GC_TRACKED and LAST_GC_TRACKED are roots, but * not object references. @@ -325,7 +326,10 @@ struct _MonoDomain { /* hashtables for Reflection handles */ MonoGHashTable *type_hash; MonoGHashTable *refobject_hash; - /* a GC-tracked array to keep references to the static fields of types */ + /* + * A GC-tracked array to keep references to the static fields of types. + * See note [Domain Static Data Array]. + */ gpointer *static_data_array; /* maps class -> type initialization exception object */ MonoGHashTable *type_init_exception_hash; @@ -336,7 +340,6 @@ struct _MonoDomain { /* Needed by Thread:GetDomainID() */ gint32 domain_id; gint32 shadow_serial; - unsigned char inet_family_hint; // used in socket-io.c as a cache GSList *domain_assemblies; MonoAssembly *entry_assembly; char *friendly_name; @@ -380,16 +383,9 @@ struct _MonoDomain { GHashTable *method_rgctx_hash; GHashTable *generic_virtual_cases; - MonoThunkFreeList **thunk_free_lists; - - GHashTable *generic_virtual_thunks; /* Information maintained by the JIT engine */ gpointer runtime_info; - - /*thread pool jobs, used to coordinate shutdown.*/ - volatile int threadpool_jobs; - HANDLE cleanup_semaphore; /* Contains the compiled runtime invoke wrapper used by finalizers */ gpointer finalize_runtime_invoke; @@ -442,8 +438,8 @@ typedef struct { typedef MonoDomain* (*MonoLoadFunc) (const char *filename, const char *runtime_version); -void mono_domain_lock (MonoDomain *domain); -void mono_domain_unlock (MonoDomain *domain); +void mono_domain_lock (MonoDomain *domain) MONO_LLVM_INTERNAL; +void mono_domain_unlock (MonoDomain *domain) MONO_LLVM_INTERNAL; void mono_install_runtime_load (MonoLoadFunc func); @@ -697,4 +693,8 @@ mono_runtime_init_checked (MonoDomain *domain, MonoThreadStartCB start_cb, MonoT void mono_context_init_checked (MonoDomain *domain, MonoError *error); +gboolean +mono_assembly_has_reference_assembly_attribute (MonoAssembly *assembly, MonoError *error); + + #endif /* __MONO_METADATA_DOMAIN_INTERNALS_H__ */