[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-06-24 00:08:18 CEST

Justin Erenkrantz <justin@erenkrantz.com> writes:

> 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.

Ahhhh, now I understand your goal. You want the swig-py bindings to
compile no matter what, and throw a runtime error if a calling app
tries to use threads when they're not available. Sorry for
misunderstanding. That's a good proposal, I like it.

IIRC, Jon Trowbridge long ago made the swig-py code dependent on
threads so that his gsvn GUI app could launch svn_client_*() processes
in the background, and the GUI would still remain responsive to GUI
events.

Frankly, I don't know if it's possible to turn threads into a runtime
dependency rather than a compile-time dependency. Someone more
knowledgable needs to answer that question.

---------------------------------------------------------------------
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:10:53 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.