-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thomas Bruderer wrote:
> Someone who develops and tells me that 1000 threads for one single
> application is normal... THATS what I am flameing about.
That always depends on the application. If I have to write an
application that solves a problem that warrants 1000 threads, why the
hell not? And Freenet has a hell of a lot stuff to do. Using threads is
a logical and fast way to solve a certain class of problems and there's
nothing wrong with doing it that way.
You are of course welcome to suggest ways to decrease the number of
threads because - as you have mentioned quite correctly - threads are
indeed expensive. Unfortunately in most cases it's either "use a thread"
or "write several hundred lines of code and not use a thread."
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFAGsZsh8Hgp5TwkMRApBuAJ9VTmF5f7b6/j2dyMf92j832JyErgCfaLuz
RNkfX0hKN/eT9Wk953qeMhY=
=Y25u
-----END PGP SIGNATURE-----