67e36b90b6
and adjust boehm-gc to deal with any number of holes that may appear between __data_start and _end. (requires -current binutils) - work-around libpthread bugs that prevent sigsuspend() from working in a signal handler by using pthread_suspend_np() + an arch/libpthread specific offset to obtain the suspended thread's stack pointer. thanks to sthen@ and jasper@ for access to other arches. discussed with todd@
13 lines
441 B
Plaintext
13 lines
441 B
Plaintext
$OpenBSD: patch-pthread_stop_world_c,v 1.1 2008/04/01 17:41:13 kurt Exp $
|
|
--- pthread_stop_world.c.orig Thu Feb 7 09:37:25 2008
|
|
+++ pthread_stop_world.c Thu Feb 7 09:37:41 2008
|
|
@@ -1,7 +1,7 @@
|
|
#include "private/pthread_support.h"
|
|
|
|
#if defined(GC_PTHREADS) && !defined(GC_WIN32_THREADS) && \
|
|
- !defined(GC_DARWIN_THREADS)
|
|
+ !defined(GC_DARWIN_THREADS) && !defined(GC_OPENBSD_THREADS)
|
|
|
|
#include <signal.h>
|
|
#include <semaphore.h>
|