=?us-ascii?Q?Re=3A=20gtk=202=20or=203?=
- From: Michael T. <myso77 seznam cz>
- To: Tor Lillqvist <tml iki fi>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk 2 or 3
- Date: Thu, 04 Nov 2010 11:18:03 +0100 (CET)
So GIMP is a single threaded software?
No, but...
There's never GTK+ multithreaded activity?
Indeed.
If I may ask, what is the main technical problem (deeper explanation) with using GTK+ from multiple threads?
It is probably very application specific. For instance, in my measurement application an extra thread is
started that takes care of data acquisition. I need to update a GTK progress bar while measuring, but since
data are acquired extremely fast I do it from the measuring thread. The main thread, where GTK is running is
of course blocked until the measurement is finished.
This is obviously using GTK from multiple threads, but so far works perfectly. (Although, sometimes I get an
occasional warning during execution) But this is probably due to the fact, that the main thread is blocked so
the only thing that can be done is the progress bar update that is being taken care of from the measurement
thread.
myso
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]