Re: multithreading on win32



--- Christophe Combelles <ccomb free fr> wrote:
Hi,
is there any improvements on 2.4 to multithreading on win32 ?

   Don;t know the answer to this one


Is it still impossible to control a GUI from thread ?

  It has never been impossible to control the GUI from a thread -- as a matter
of fact, the GUI is controlled by a thread itself :). Now, if you are talking
about having multiple threads accessing the GUI data structures, you will have
to provide the synchronization yourself.

   gdk_threads_enter() and gdk_threads_leave() are your friends.

   There are several apps that do that: Gaim and Urlget are 2 that comes to
mind.

Hope this helps.
Harring Figueiredo

=====
==================================================================
Plese, don't send me any attachment in Micro$oft (.DOC, .PPT) format.
Read http://www.fsf.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Please, consider adding this text to Your email signature.

Harring Figueiredo


        
                
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]