Wireshark-dev: Re: [Wireshark-dev] Enabling threads
From: Ulf Lamping <[email protected]>
Date: Wed, 08 Nov 2006 23:50:30 +0100
Gerald Combs wrote:
That's correct. Checking for updates would be pretty easy if we could connect to the server, issue a request, and feed the response to read_prefs_file(). It'd be even easier if we could do so from a thread instead of a separate process.
And probably less memory consuming :-)
In regard to Ulf's comment about threads not working well with GTK+ 2.4, 
it looks like that's still the case and won't change any time soon.  The 
threads section of the GDK reference on developer.gnome.org says:
"Unfortunately the above holds with the X11 backend only. With the Win32 
backend, GDK calls should not be attempted from multiple threads at all."
There's also a bug entry at 
http://bugzilla.gnome.org/show_bug.cgi?id=60620 that's been marked 
WONTFIX with the recommendation of using idle/timer callbacks instead of 
threads for display code.
  
Are you already working on this?

I had a look at the cygwin setup program, as they (depending on a user setting) use the internet access from Internet Explorer to load files from the internet.
That has the great advantage that this is working well with a proxy, if 
the proxy settings of IE is set correct.

I've also started to write a proposal how a file content could look like to update things - it needs some more polishing before I'll send it to this list (to reduce a lot of discussion by providing a clean proposal the first time). My thought was also to use the syntax of the preferences file :-)
Regards, ULFL