Age | Commit message (Collapse) | Author |
|
|
|
without thread local alloc.
|
|
|
|
and the altstack with it.
|
|
|
|
This reverts commit ee68c04c1079886c6df6be50e371e7d0a7c72c16.
|
|
|
|
we cast properly to make sure the modulus has a valid result.
Additionally add support for x86_THREAD_STATE64.
|
|
|
|
|
|
works under linux, but fails under *bsd. Fixes #647248.
|
|
and GC_stop_world in processes that have been forked.
|
|
|
|
svn path=/trunk/mono/; revision=137261
|
|
* 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
|
|
* 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
|
|
svn path=/trunk/mono/; revision=85654
|
|
* pthread_support.c: export GC_thread_tls.
svn path=/trunk/mono/; revision=85637
|
|
* 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
|
|
* 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
|
|
svn path=/trunk/mono/; revision=60895
|
|
* 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
|
|
* 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
|
|
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
|
|
svn path=/trunk/mono/; revision=56439
|
|
* 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
|
|
* 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
|
|
* *: update from upstream changes.
svn path=/trunk/mono/; revision=55979
|
|
* 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
|
|
* pthread_support.c (GC_thread_deregister_foreign): Make this return
void instead of void*.
svn path=/trunk/mono/; revision=51613
|
|
* 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
|
|
* pthread_support.c: fix compilation when TLS_ALLOC is not defined.
svn path=/trunk/mono/; revision=47033
|
|
* 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
|
|
* pthread_support.c: Workaround gcc-3.3 compiler bug.
svn path=/trunk/mono/; revision=46167
|
|
* pthread_support.c (GC_thread_is_registered): Move this outside of
the #ifdef THREAD_LOCAL_ALLOC.
svn path=/trunk/mono/; revision=41593
|
|
* include/gc.h pthread_support.c win32_threads.: Add
GC_thread_is_registered API function.
svn path=/trunk/mono/; revision=41410
|
|
svn path=/trunk/mono/; revision=35994
|