![]() |
Multithreading Are there any future plans to multithread? I have a dual athlon MP and it would be great to use both cpu's (for hashing etc.) |
I don't think the dev team will switch to multi threading because threads are implemented in different ways on all the unices and all of them should be supported. |
Actually, the posix threads package is the standard, and is pretty well supported on almost all the UNIX variants available today. It might not be that hard a job to do, but since they went to all the trouble of building an elaborate event queue, it's unlikely that they will want to rip all that code out. Still, it's a great project for someone who wants to create a new variant of the package. Not a simple task to figure out how to use a portably threaded event queue, while leaving the rest of gtk-gnut alone. It could be done, but not quickly. Food for thought, though. I have a multi-processor system here too, and would like to use the other cpus in gnutella. But only some of the support libs are multi-threaded. Fools my debugger though - loading gtk-gnutella in dbx, and it says 'multi-thread program detected'. Too bad it's not right... --Rockkeys |
Both SHA1 and Tigertree calculations are now so called background tasks. These tasks are most likely to be extended to a real seperate low priority thread. But that will happen after the gnutella-lib split. And with the current number of developers (hint hint) it will take a while before we are there... |
All times are GMT -7. The time now is 12:23 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.