Author: lupus
Date: 2005-07-07 06:01:22 -0400 (Thu, 07 Jul 2005)
New Revision: 47031
Modified:
trunk/mono/libgc/ChangeLog
trunk/mono/libgc/Makefile.am
trunk/mono/libgc/pthread_support.c
Log:
Thu Jul 7 11:59:42 CEST 2005 Paolo Molaro <[EMAIL PROTECTED]>
* pthread_support.c, Makefile.am: make the __thread var use
fast access if available (and avoid dlopen issue, bug #75390).
Modified: trunk/mono/libgc/ChangeLog
===================================================================
--- trunk/mono/libgc/ChangeLog 2005-07-07 09:50:44 UTC (rev 47030)
+++ trunk/mono/libgc/ChangeLog 2005-07-07 10:01:22 UTC (rev 47031)
@@ -1,3 +1,9 @@
+
+Thu Jul 7 11:59:42 CEST 2005 Paolo Molaro <[EMAIL PROTECTED]>
+
+ * pthread_support.c, Makefile.am: make the __thread var use
+ fast access if available (and avoid dlopen issue, bug #75390).
+
2005-07-05 Ben Maurer <[EMAIL PROTECTED]>
* pthread_stop_world.c (pthread_start_world, _GC_suspend_handler):
Modified: trunk/mono/libgc/Makefile.am
===================================================================
--- trunk/mono/libgc/Makefile.am 2005-07-07 09:50:44 UTC (rev 47030)
+++ trunk/mono/libgc/Makefile.am 2005-07-07 10:01:22 UTC (rev 47031)
@@ -22,6 +22,8 @@
SUBDIRS = include doc
+INCLUDES=-I$(top_srcdir)/..
+
#
# libtool is not capable of creating shared/static versions of a convenience
# library, so we have to do it ourselves
Modified: trunk/mono/libgc/pthread_support.c
===================================================================
--- trunk/mono/libgc/pthread_support.c 2005-07-07 09:50:44 UTC (rev 47030)
+++ trunk/mono/libgc/pthread_support.c 2005-07-07 10:01:22 UTC (rev 47031)
@@ -168,9 +168,17 @@
/* We don't really support thread-local allocation with DBG_HDRS_ALL */
+/* work around a dlopen issue (bug #75390), undefs to avoid warnings with
redefinitions */
+#undef PACKAGE_BUGREPORT
+#undef PACKAGE_NAME
+#undef PACKAGE_STRING
+#undef PACKAGE_TARNAME
+#undef PACKAGE_VERSION
+#include "mono/utils/mono-compiler.h"
+
static
#ifdef USE_COMPILER_TLS
- __thread
+ __thread MONO_TLS_FAST
#endif
GC_key_t GC_thread_key;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches