Re: How to oblige Gtk to redraw the window
- From: Paul Davis <pbd Op Net>
- To: "arno-unix ifrance com" <arno-unix ifrance com>
- Cc: gtk-list gnome org
- Subject: Re: How to oblige Gtk to redraw the window
- Date: Thu, 20 Sep 2001 10:02:53 -0400
>In fact, i'm using fork and not threads. My progress
>bar indicates the percentage done while reading the
>file. Is it better to use threads?
read the FAQ.
threads are more lightweight, plus you cannot use fork() this way
since you cannot use mutexes between processes; GTK (and X) requires
are not thread-safe without the mutexes being acquired and released.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]