*.vcproj: Fix Release build target, add define to remove CRT warnings,
structure output folders a bit better, begin WIN64 port.
*.bat: Use output from current VS target for executable.
* icall.c: Fix environ access on windows.
* gc.h: Fix Win64 typedef.
svn path=/trunk/mono/; revision=74191
* include/private/gcconfig.h, os_dep.c:
Add FreeBSD/amd64 support. Based on a FreeBSD Port Collection patch.
r=Paolo.
svn path=/trunk/mono/; revision=69915
* libgc/darwin_stop_world.c, libgc/include/private/gc_priv.h,
libgc/os_dep.c: Fixes to make the GC work on OSX/Intel with XCode
2.4 (10.4u SDK and newer).
This code should work with older versions of the SDK as well.
svn path=/trunk/mono/; revision=68156
* 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
* include/private/gcconfig.h (LINUX and SPARC): Applied patch from
David S. Miller <[email protected]>: Do not
use _etest and GC_SysVGetDataStart() to figure out DATASTART.
Instead use either SEARCH_FOR_DATA_START or __environ, based
upon GLIBC version.
svn path=/trunk/mono/; revision=59048
* 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
* include/private/gc_locks.h: make gcc generate correct code for swp
(patch by [email protected], Tomi Valkeinen).
svn path=/trunk/mono/; revision=48647
* include/private/pthread_support.h, pthread_support.c: added
patch to support registering new threads at runtime (from
Michael Meeks <[email protected]>).
svn path=/trunk/mono/; revision=47889
* os_dep.c: Add ability to fall back to mmap-ing memory when sbrk
fails.
* include/private/gcconfig.h: Enable FALLBACK_TO_MMAP on amd64. Fixes
#73882.
svn path=/trunk/mono/; revision=42356