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

Re: svn commit: r27264 - trunk/subversion/tests/cmdline/svntest

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2007-10-18 01:49:33 CEST

glasser@tigris.org writes:

> Author: glasser
> Date: Wed Oct 17 16:42:14 2007
> New Revision: 27264

> Instead, we make a synchronized Queue containing the test numbers,
> fork off 5 threads from the get-go, and have the threads fetch numbers
> from the queue. The parent just starts the children and joins them;
> no extra sleep(0.2) necessary, and almost everything is thread-safe.
> (I did not fix the fact that the children do a popen/wait instead of a
> waitpid, and thus may end up wait()ing on the wrong child and thus
> getting the wrong result; it's unclear if there is a way to do this
> that works on Windows before Python 2.4.)

Don't hide stuff like this in the log message, put it in the code.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 18 01:49:45 2007

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.