From: Alex Rønne Petersen Date: Thu, 7 Apr 2016 23:17:46 +0000 (+0200) Subject: [utils/hp] Export mono_thread_hazardous_try_free () for use in the profiler. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=de28858b4d487a481c310b33b8ed36f3cd690753;p=mono.git [utils/hp] Export mono_thread_hazardous_try_free () for use in the profiler. --- diff --git a/mono/utils/hazard-pointer.h b/mono/utils/hazard-pointer.h index 3cb2c0aeba3..0102c103f76 100644 --- a/mono/utils/hazard-pointer.h +++ b/mono/utils/hazard-pointer.h @@ -10,6 +10,7 @@ #include #include #include +#include #define HAZARD_POINTER_COUNT 3 @@ -29,7 +30,7 @@ typedef enum { HAZARD_FREE_ASYNC_CTX, } HazardFreeContext; -gboolean mono_thread_hazardous_try_free (gpointer p, MonoHazardousFreeFunc free_func); +MONO_API gboolean mono_thread_hazardous_try_free (gpointer p, MonoHazardousFreeFunc free_func); void mono_thread_hazardous_queue_free (gpointer p, MonoHazardousFreeFunc free_func); void mono_thread_hazardous_try_free_all (void);