Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Gtk-Gnutella (Linux/Unix/Mac OSX/Windows)
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) Gtk-Gnutella user section. Preview this popular software: Gtk-Gnutella (Linux / BSD / Darwin / Mac OS X / Windows)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 17th, 2003
Novicius
 
Join Date: January 17th, 2003
Location: Leeds UK
Posts: 4
malcidragon is flying high
Unhappy 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.)
Reply With Quote
  #2 (permalink)  
Old January 18th, 2003
gtk-gnutella user
 
Join Date: October 8th, 2002
Location: Germany
Posts: 74
guruz is flying high
Default

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.
Reply With Quote
  #3 (permalink)  
Old October 2nd, 2003
Devotee
 
Join Date: September 30th, 2003
Posts: 27
rockkeys is flying high
Default

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
Reply With Quote
  #4 (permalink)  
Old October 8th, 2003
gtk-gnutella developer
 
Join Date: October 8th, 2003
Posts: 28
MrJoe is flying high
Default

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...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 07:21 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.