Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-20Fix libgc compilation with clang.Zoltan Varga
2012-07-17Move some declarations out of a #ifdef in pthread_support.c to fix platforms ↵Zoltan Varga
without thread local alloc.
2012-06-17To use thread local alloc in FreeBSDKISHIMOTO, Makoto
2012-05-22Fix altstack support in libgc by registering the bounds of the normal stack ↵Zoltan Varga
and the altstack with it.
2011-08-10More NACL updatesElijah Taylor
2011-08-10Revert "More NACL updates"Zoltan Varga
This reverts commit ee68c04c1079886c6df6be50e371e7d0a7c72c16.
2011-08-09More NACL updatesElijah Taylor
2011-08-03[gc] Darwin/AMD64 can have 64-bit thread id's, so we need to ensureGeoff Norton
we cast properly to make sure the modulus has a valid result. Additionally add support for x86_THREAD_STATE64.
2010-12-17Merged in rest of Native Client changes, untestedElijah Taylor
2010-11-29Add support for the internal boehm-gc on OpenBSDRobert Nagy
2010-10-18Avoid calling sem_post on a uninitialized semaphore during thread attach, it ↵Zoltan Varga
works under linux, but fails under *bsd. Fixes #647248.
2010-10-01Work around Android's pthread/kernel_id/fork bug to fix mono multithreading ↵Koushik Dutta
and GC_stop_world in processes that have been forked.
2010-08-26Avoid warnings on machines with cpus > 16.Zoltan Varga
2009-07-022009-07-02 jonas echterhoff <jonas@unity3d.com>jonas
svn path=/trunk/mono/; revision=137261
2008-08-122008-08-12 Geoff Norton <gnorton@novell.com>Geoff Norton
* pthread_support.c: GCC shipped with SLES9 ppc gets confused with our current GC_setspecific define. Unfold the define into a static inline on all platforms except ppc where it is a static leaf function. svn path=/trunk/mono/; revision=110289
2008-08-032008-08-03 Zoltan Varga <vargaz@gmail.com>Zoltan Varga
* pthread_support.c (GC_thread_exit_proc): Null out the tls key to prevent the dtor function from being callled, since that would read freed memory. svn path=/trunk/mono/; revision=109502
2007-09-11workaround for gcc bug showing up on the buildbot.Paolo Molaro
svn path=/trunk/mono/; revision=85654
2007-09-11Tue Sep 11 16:22:28 CEST 2007 Paolo Molaro <lupus@ximian.com>Paolo Molaro
* pthread_support.c: export GC_thread_tls. svn path=/trunk/mono/; revision=85637
2007-02-012007-02-01 Geoff Norton <gnorton@customerdna.com>Geoff Norton
* include/private/gc_pthread_redirects.h: * include/private/gc_config_macros.h: * include/private/gc_priv.h: * configure.in: * pthread_support.c * specific.c: Support for NetBSD-CURRENT. Loosely based on NetBSD pkgsrc patch. svn path=/trunk/mono/; revision=72097
2006-06-292006-06-28 Martin Baulig <martin@ximian.com>Martin Baulig
* darwin_stop_world.c, pthread_support.c: Committing a patch from Allan Hsu <allan@imeem.com> to fix memory leaks; see bug #78628. svn path=/trunk/mono/; revision=62128
2006-05-20Revert the calloc() part of my patch.Martin Baulig
svn path=/trunk/mono/; revision=60895
2006-05-192006-05-19 Martin Baulig <martin@ximian.com>Martin Baulig
* include/gc.h: Don't include "libgc-mono-debugger.h". * pthread_support.c, pthread_stop_world.c: Include it here. svn path=/trunk/mono/; revision=60857
2006-05-172006-05-17 Martin Baulig <martin@ximian.com>Martin Baulig
* pthread-support.c, pthread-stop-world.c: Put the debugger stuff inside a `#if LIBGC_MONO_DEBUGGER_SUPPORTED' conditional. svn path=/trunk/mono/; revision=60799
2006-05-172006-05-17 Martin Baulig <martin@ximian.com>Martin Baulig
Fix a weird race condition which prevented XSP from working inside the debugger - see doc/debugger-issues.txt for details. * include/gc.h: Moved the "libgc-mono-debugger.h" #include down after the gc_pthread_redirects.h one. * include/libgc-mono-debugger.h (GCThreadFunctions): Added `thread_created' and `thread_exited'. (GC_mono_debugger_add_all_threads): New function prototype. * pthread_stop_world.c (gc_thread_vtable): Allow the vtable and any function in it be NULL; use NULL as the default vtable. (GC_mono_debugger_add_all_threads): New public function. * pthread_support.c (GC_new_thread): Use calloc() instead of GC_INTERNAL_MALLOC() to allocate the `GC_thread' structure. (GC_delete_thread): Call `gc_thread_vtable->thread_exited()'. (GC_thr_init): Call `gc_thread_vtable->thread_created()'. (GC_start_routine_head): Likewise; use calloc() instead of GC_INTERNAL_MALLOC() to allocate the `start_info'. svn path=/trunk/mono/; revision=60766
2006-02-02Warning fixes.Paolo Molaro
svn path=/trunk/mono/; revision=56439
2006-02-01Wed Feb 1 18:23:55 CET 2006 Paolo Molaro <lupus@ximian.com>Paolo Molaro
* pthread_support.c, *: back out Zoltan's patch since it's incorrect. The correct fix it to execute the cleanup from inside the thread also when using the __thread var to access the current GC_thread. svn path=/trunk/mono/; revision=56400
2006-02-012006-02-01 Zoltan Varga <vargaz@gmail.com>Zoltan Varga
* pthread_support.c (GC_thread_deregister_foreign): New public API function to deregister a foreign thread from the GC. (GC_destroy_thread_local): Clean up the TLS key too. svn path=/trunk/mono/; revision=56387
2006-01-24Tue Jan 24 12:34:06 CET 2006 Paolo Molaro <lupus@ximian.com>Paolo Molaro
* *: update from upstream changes. svn path=/trunk/mono/; revision=55979
2005-12-072005-12-06 Todd Berman <tberman@off.net>Todd Berman
* pthread_support.c (GC_thread_register_foreign): Wrap a GC_printf1 inside a #ifdef DEBUG_THREADS like the others. Based on a patch from Bryan Berg (bryan AT imeem DOT com). svn path=/trunk/mono/; revision=54020
2005-10-112005-10-11 Zoltan Varga <vargaz@gmail.com>Zoltan Varga
* pthread_support.c (GC_thread_deregister_foreign): Make this return void instead of void*. svn path=/trunk/mono/; revision=51613
2005-08-01Mon Aug 1 16:49:45 CEST 2005 Paolo Molaro <lupus@ximian.com>Paolo Molaro
* include/private/pthread_support.h, pthread_support.c: added patch to support registering new threads at runtime (from Michael Meeks <michael.meeks@novell.com>). svn path=/trunk/mono/; revision=47889
2005-07-07Thu Jul 7 12:15:22 CEST 2005 Paolo Molaro <lupus@ximian.com>Paolo Molaro
* pthread_support.c: fix compilation when TLS_ALLOC is not defined. svn path=/trunk/mono/; revision=47033
2005-07-07Thu Jul 7 11:59:42 CEST 2005 Paolo Molaro <lupus@ximian.com>Paolo Molaro
* pthread_support.c, Makefile.am: make the __thread var use fast access if available (and avoid dlopen issue, bug #75390). svn path=/trunk/mono/; revision=47031
2005-06-172005-06-17 Zoltan Varga <vargaz@freemail.hu>Zoltan Varga
* pthread_support.c: Workaround gcc-3.3 compiler bug. svn path=/trunk/mono/; revision=46167
2005-03-092005-03-09 Zoltan Varga <vargaz@freemail.hu>Zoltan Varga
* pthread_support.c (GC_thread_is_registered): Move this outside of the #ifdef THREAD_LOCAL_ALLOC. svn path=/trunk/mono/; revision=41593
2005-03-042005-03-03 Zoltan Varga <vargaz@freemail.hu>Zoltan Varga
* include/gc.h pthread_support.c win32_threads.: Add GC_thread_is_registered API function. svn path=/trunk/mono/; revision=41410
2004-11-11Add libgc to monoMiguel de Icaza
svn path=/trunk/mono/; revision=35994