This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PATCH: Support threads on FreeBSD/i386
- To: rittle at labs dot mot dot com
- Subject: Re: PATCH: Support threads on FreeBSD/i386
- From: Tom Tromey <tromey at redhat dot com>
- Date: 28 Aug 2001 10:29:03 -0600
- Cc: java-patches at gcc dot gnu dot org, boehm at acm dot org
- References: <200108210819.f7L8JdK32779@latour.rsch.comm.mot.com>
- Reply-To: tromey at redhat dot com
>>>>> "Loren" == Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:
Loren> If my current test results in libjava are any guide, this gets
Loren> me to 4th down and inches of the goal of enabling libjava by
Loren> default on i386-unknown-freebsd* against its existing default
Loren> configuration. That will get quite a few more people
Loren> bootstrapping libjava by default on a non-Linux platform...
Great news!
Loren> 2001-08-20 Loren J. Rittle <ljrittle@acm.org>
Loren> * configure.in (GC_FREEBSD_THREADS): Define it instead of...
Loren> (FREEBSD_THREADS): ...this to follow the latest macro convention.
Loren> * configure: Rebuilt.
Loren> * dyn_load.c: While basically copying the minimal
Loren> LINUX_THREADS code path, enable pthread support on FreeBSD.
Loren> * gc_dlopen.c: Likewise.
Loren> * misc.c: Likewise.
Loren> * os_dep.c: Likewise.
Loren> * threadlibs.c: Likewise.
Loren> * include/gc.h: Likewise.
Loren> * include/gc_pthread_redirects.h: Likewise.
Loren> * include/private/gc_locks.h: Likewise.
Loren> * include/private/gc_priv.h: Likewise.
Loren> * tests/test.c: Likewise.
Loren> * include/private/gcconfig.h: Likewise.
Loren> (MPROTECT_VDB): Do not define when GC_FREEBSD_THREADS.
Loren> * linux_threads.c: Likewise.
Loren> (WRAP_FUNC(pthread_join)): Fix-up spurious EINTR return from
Loren> REAL_FUNC(pthread_join) in the wrapper.
Some of the code seems to use FREEBSD_THREADS and some uses
GC_FREEBSD_THREADS. Why not just use the latter everywhere?
Tom