Age | Commit message (Collapse) | Author |
|
* include netinet/in.h for in_addr_t
* there is no need for an openbsd specific implementation anymore
so you use the generic pthread one
* signal.h is required for sigaltstack
* add missing mono/utils/mono-threads.h include
* there is no malloc.h on OpenBSD either
* sys/socket.h is required for struct sockaddr
* add support for btls on openbsd and default to with_tls=pthread as there is only emultls support which is not enough for mono
* there is no need for pthread_attr_init/destroy anymore
* add -Wl,-zwxneeded to LDFLAGS on OpenBSD
W^X is strictly enforced by default on OpenBSD;
a program can only violate it if it is located on a filesystem mounted
with the wxallowed mount(8) option and has been linked with the
above flag
|
|
|
|
sgen code, so keep them in sync.
|
|
|
|
https://github.com/igotti-google/mono/commit/65d8d68e8c81cf6adb1076de7a9425c84cab86a3.
|
|
|
|
- fix compile/runtime issues caused by upstream changes
- add NaCl glibc support
- various changes to support running tests in NaCl glibc
from 'make check'
|
|
- inline managed code implementation
(add x86 test mem imm8 codegen macro for this as well)
- clean up libgc NaCl code
- centralize mono_nacl_gc into mini.c
|
|
and the altstack with it.
|
|
|
|
|
|
This reverts commit ee68c04c1079886c6df6be50e371e7d0a7c72c16.
|
|
|
|
|
|
|
|
Android's fork() function does not properly update the
pthread_internal_t->threadid variable to point to the tid of the
fork()'d thread, and instead still points to the pid of zygote.
As a result we need to track the android tid's manually since
gettid() is sane, and use an alternate to pthread_kill on android
Additionally, disable sgen support on android until the same
work has been done there
r: kumpera, vargaz
|
|
and GC_stop_world in processes that have been forked.
|
|
* pthread_stop_world.c: (GC_stop_world and GC_start_world): hooked
svn path=/trunk/mono/; revision=95125
|
|
* pthread_stop_world.c
(GC_mono_debugger_add_all_threads): Removed.
(GC_mono_debugger_get_stack_ptr): New public function.
svn path=/trunk/mono/; revision=84647
|
|
* 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
|
|
* pthread_stop_world.c (pthread_start_world, _GC_suspend_handler):
Make sure that all threads have been started before releasing the
GC_lock. Otherwise, the thread table can be corrupt in the restart
handler, causing deadlocks and segfaults.
svn path=/trunk/mono/; revision=46962
|
|
* pthread_stop_world.c (GC_restart_handler, GC_suspend_handler):
Wrap the original routines into methods that preserve the value of
errno. Fixes #74740
svn path=/trunk/mono/; revision=43905
|
|
* pthread_stop_world.c: handle EINTR from sem_wait() call.
svn path=/trunk/mono/; revision=39085
|
|
svn path=/trunk/mono/; revision=35994
|