Re: Work woth GUI from a thread that was made by pthread_create function
- From: Pavel Machek <pavel ucw cz>
- To: Michael Torrie <torriem cs byu edu>
- Cc: gtk-devel-list <gtk-devel-list gnome org>, gtk-app-devel-list gnome org, gnome-devel <gnome-devel-list gnome org>
- Subject: Re: Work woth GUI from a thread that was made by pthread_create function
- Date: Wed, 13 Feb 2002 11:10:48 +0000
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]