[RFC] Testers for net/mldonkey-devel thread support
Mario Sergio Fujikawa Ferreira
lioux at FreeBSD.org
Mon Jan 16 08:28:52 PST 2006
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/core/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,
--
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
feature, n: a documented bug | bug, n: an undocumented feature
More information about the freebsd-ports
mailing list