Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2006 14:26:47 -0200
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Subject:   [RFC] Testers for net/mldonkey-devel thread support
Message-ID:  <20060116162710.99466.qmail@exxodus.fedaykin.here>

next in thread | raw e-mail | index | archive | help
Hi,

	It's been brought to my attention the multi-threading code
on net/mldonkey-devel was not being used despite all signs au
contraire.

	This patch enables the threading code assuming that
the dns related code is not reentrant safe which is a safeguard.

	However, certain FreeBSD versions (e.g., 6.0-STABLE which
I use) do have the dns related reentrant safe code. Therefore, on
those versions, net/mldonkey-devel does not have to protect these
critical sections and take full advantage of multi-threading.

	What I need? I need a wide range of FreeBSD versions testing
this code, specially FreeBSD versions previous to 5.4-RELEASE and
standard 6.0-RELEASE (neither 6-STABLE nor RELENG_6_0). Although,
reports from other FreeBSD versions are welcome as well.

	This code has been running safely on my system for the past
24 hours. On peer confirmation that it does indeed work on other
systems, I'll commit this enhancement to net/mldonkey-devel on
Wednesday January 16th.

	The modified port can be found at

http://people.FreeBSD.org/~lioux/mldonkey-devel.tgz

	To make sure the dns code is working, you could try using
the BitTorrent client within mldonkey and the http transfer protocol.
For instance, type on the command line

http http://ftp-stud.fht-esslingen.de/pub/Mirrors/fedora.redhat.com/linux/c=
ore/4/i386/os/GPL

It should fetch the GPL file without a problem.

	Please, let the modified port run for at least a couple
hours before reporting back. Let me know how this goes.

	Regards,

--=20
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
feature, n: a documented bug | bug, n: an undocumented feature



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060116162710.99466.qmail>