Hello *, I am new on this list, but have already codes some VERY simple admin GUI's... Now I have a bigger problem/Application which need definitiv multithreading since it must poll several servers and update several TreeView and ListView. I have no experience with it, since I am one of those
console-singel-task-no-one-bother-me programmers (Debian GNU/Linux)... :-) OK, for now my GUI is running and then I use a loop like ----8<-------------------------------------------- window_main=create_window_main(); while ( TRUE ) { while ( gtk_events_pending() ) gtk_main_iteration(); <some_code_to_update_the_dialog> } ----8<-------------------------------------------- where <some_code_to_update_the_dialog> are several functions which are executed one after one. Problem FOR NOW is that each function need ages to get the data and my GUI is dead while running the functions... If there is nothing to do, the CPU load is 100% while running the loop. Oops! Not realy what I want! So, can anyone provide me with a Tutorial HOW TO MULTITHREAD those functions <some_code_to_update_the_dialog> ? And maybe some other tips... Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list