X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fsgen%2Fgc-internal-agnostic.h;h=fef115796dd1b0d8f4553879d55c653c44959f54;hb=aaf5672018ed5cf20025a51943ca0ed6b5e86277;hp=dc9b091bf6f95262b3dd0bec4a1903c88576e3d7;hpb=d2a6ce3a93e6a54b7835262609580c4acc034fa9;p=mono.git diff --git a/mono/sgen/gc-internal-agnostic.h b/mono/sgen/gc-internal-agnostic.h index dc9b091bf6f..fef115796dd 100644 --- a/mono/sgen/gc-internal-agnostic.h +++ b/mono/sgen/gc-internal-agnostic.h @@ -1,5 +1,6 @@ -/* - * gc-internal-agnostic.h: Mono-agnostic GC interface. +/** + * \file + * Mono-agnostic GC interface. * * Copyright (C) 2015 Xamarin Inc * @@ -62,11 +63,11 @@ typedef enum { #define MONO_GC_HANDLE(slot, type) (((slot) << MONO_GC_HANDLE_TYPE_SHIFT) | (((type) & MONO_GC_HANDLE_TYPE_MASK) + 1)) typedef struct { - guint minor_gc_count; - guint major_gc_count; - guint64 minor_gc_time; - guint64 major_gc_time; - guint64 major_gc_time_concurrent; + gint32 minor_gc_count; + gint32 major_gc_count; + gint64 minor_gc_time; + gint64 major_gc_time; + gint64 major_gc_time_concurrent; } GCStats; extern GCStats gc_stats; @@ -79,12 +80,6 @@ typedef void* MonoGCDescriptor; #define MONO_GC_DESCRIPTOR_NULL NULL #endif -/* - * Try to register a foreign thread with the GC, if we fail or the backend - * can't cope with this concept - we return FALSE. - */ -extern gboolean mono_gc_register_thread (void *baseptr); - gboolean mono_gc_parse_environment_string_extract_number (const char *str, size_t *out); MonoGCDescriptor mono_gc_make_descr_for_object (gsize *bitmap, int numbits, size_t obj_size);