[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 0.24.2: hard-to-repro build trouble on Cygwin

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2003-06-24 02:02:20 CEST

--On Monday, June 23, 2003 4:32 PM -0500 Ben Collins-Sussman
<sussman@collab.net> wrote:

> Not true. I always --enable-threads when I build httpd/apr/apu. And
> I've never had a problem, the swig-py bindings have always worked fine
> for me on FreeBSD.

And, for reasons I have previously described, FreeBSD's threads are broken and
should not be used. As long as you are fully aware of the risks involved,
that's fine. But, I don't believe SVN should be recommending enabling threads
on FreeBSD. And, note that the very problem with FreeBSD's threads are in the
exact code you are enabling - thread locking is unreliable.

A short-term solution that I'd rather see us use is to produce a run-time
error if threads are used in Python with a threadless APR. Can we throw a
Python exception? This would allow the bindings to work if Python doesn't use
threading (which I feel is the common case here) even if there is a mismatch.

As one of the maintainers of an SVN server on a FreeBSD box, I need to still
be able to create the bindings without enabling threads. -- justin

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 24 02:03:00 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.