Re: Work woth GUI from a thread that was made by pthread_create function



Hi!

That's a bit strong to say use heavy processes, not threads.  The glib
and gdk functions do make it easy to attach handlers to i/o events,

Why? Process switch is not much slower than thread switch. Processes
are more portable, easier to debug, .... 
                                                                Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.




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