Hi

I'm fairly new into gtk-g and had a fairly basic
design question. 

Are there any threads being used for handling all
requests simultaneously ? I was unable to find any
threads being launched from the core. So, are all of
these being handled in the GUI using GTK ?

Here was what I wanted to do and I needed suggestions.
After the user has launched a new search request, he
receives a bunch of results. Now, when he selects the
file he wants to download, I wanted to send additional
network handshake messages (verifying some security
elements of messages) to the peers even before the
actual download began. After these handshake messages 
have completed successfully, the file is actually
triggered to be downloaded. 

I observed that download_selection_of_clist is the
function that invokes the "download_new" function. I
wanted to remain blocked just before invoking
download_new for each of the download requests the
user makes. And once the handshake is completed, I
wanted to proceed with the download. So, if I block in
this function, would it affect the behavior of the
other search requests being made by the user or other
functionalities in the source ?

Regards
Prashant

=====
=================================
Prashant Murthy 
Graduate Student
Dept of Comp. Science @ NC State
http://www.geocities.com/prashthy
"When ever you see a problem, smell money !!"
=================================

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to