Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround pthread_rwlock_init() fail with EBUSY on OS X
(fix of commit 3bfb499) Issue #473 (bdwgc). * pthread_support.c [CAN_HANDLE_FORK && USE_PTHREAD_LOCKS && !GC_WIN32_THREADS && USE_RWLOCK] (fork_child_proc): Update comment. * pthread_support.c [CAN_HANDLE_FORK && USE_PTHREAD_LOCKS && !GC_WIN32_THREADS && USE_RWLOCK && DARWIN] (fork_child_proc): Do not call pthread_rwlock_init(); reset GC_allocate_ml to PTHREAD_RWLOCK_INITIALIZER instead; add comment.
- Loading branch information