Re: Multiple threads: one interface
- From: G Hasse <gh raditex se>
- To: David Smith <DavidSmith byu net>
- Cc: <gtk-app-devel-list gnome org>
- Subject: Re: Multiple threads: one interface
- Date: Mon, 9 Dec 2002 19:37:48 +0000 (GMT)
On 9 Dec 2002, David Smith wrote:
I've created this GTK+2.0 app that has threads in the following setup:
1. thread Main launches gtk_main();
2. thread A collects network data and passes it to update_treeview, a
function that directly manipulates the gui.
3. thread B runs within the gui and performs cleanup on it. Every 1
second, it checks for outdated entries in the treeview and udpates their
display.
Sorry. You don't need trheads at all!
Take a look at http://www.microdata.se/swdemo.htm.
This application don't use threads...
Göran Hasse
----------------------------------------------------------------
Göran Hasse email: gh raditex se Tel: 08-6949270
Raditex AB http://www.raditex.se Fax: 08-4420570
Sickla Alle 7, 1tr Mob: 070-5530148
131 34 NACKA, SWEDEN
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]