On Thu, 24 May 2007 01:03:25 +1000
Andrew Cowie [EMAIL PROTECTED] wrote:
http://research.operationaldynamics.com/blogs/andrew/#gtk-thread-awareness
Keep on. :-)
I didn't quite agree with this conclusion:
do not use gdk_threads_set_lock_functions() to facilitate (a)
as that was rather
On Sun, 2007-05-20 at 12:15 +0200, Felix Kater wrote:
here is my short summery of how to use gtk with threads
Ironically, your email rolled in Monday right after I had managed to
come up with most of the same information independently. I just blogged
about my own findings which are fairly close
Hi,
here is my short summery of how to use gtk with threads, ordered by the
main problems to be worked around. I aimed to find a small set of
*general* rules to follow rather than solutions for individual cases.
So this guides shall turn gtk's thread awareness into thread
safety--for those who
Hello,
we got a problem with an application we are developing , GTK+ based. It's
a p2p application, based on a protocol similar to gnutella. Actually, it's
quite simple: it's a project for a university course.
Our main() create a pthread for a server, that is a thread that accepts
connections on
Hello list !
I'm in the process of coding a multithreaded GTK+ application. The
application opens a window which contenst is being updated by a worker
thread, however it is possible that the window does not exist anymore
(it received a delete-event signal) while the worker thread still tries
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
kornelix wrote:
Brian J. Tarricone wrote:
You're looking at this in an overly-complicated way. Here are a few
guidelines, all of which probably have appropriate documentation
somewhere: ...
Sadly this is the typical state of documentation for
kornelix writes:
I hope you will indulge me. I don't recall any counterparts in
Win32 to these wrapper functions (gtk/gdk init / enter / leave).
Perhaps I am off base, but I think Win32 takes care of its own
locking and threading business.
Well, surprise, as far as I know, it doesn't. For
kornelix wrote:
Thanks to the three of you for your help and information. I will
continue trying to make GTK work for my threaded application, and post
progress (or lack thereof).
I am still confused (by apparently conflicting inputs from the GTK FAQ
and yourselves) about when I must use
This FAQ entry is where I started from. My first attempt at making
threads work resulted in all threads running one after the other, in
series instead of in parallel, because I was locking the whole thread
with gdk_threads_enter() at the beginning. I progressed to trying to
lock only the
kornelix wrote:
Thanks. I eagerly anticipate your example.
I have attached a sample file that uses threads in the way you described
in your last post. The gui consists of a single text display and a
button. When you click the button, a new thread is started that
periodically (every
Subject: Re: GTK and threads
kornelix wrote:
Thanks. I eagerly anticipate your example.
I have attached a sample file that uses threads in the way you described
in your last post. The gui consists of a single text display and a
button. When you click the button, a new thread is started
On Mon, 2006-02-06 at 11:22, Michael Torrie wrote:
I have attached a sample file that uses threads in the way you described
in your last post.
I generally like to make code examples compile without warning. Did you
even try to compile this?
Alan M. Evans wrote:
I generally like to make code examples compile without warning. Did you
even try to compile this?
Of course. It definitely compiles. and runs without crashing. :)
I'll ignore your snippy tone and say that, yes eliminating warning is a
good thing. However for this
Boncek, John wrote:
How did you get an attachment to work with the list? I have never known
that to work and often wished it would.
I simply attached it normally and sent it off! Perhaps you have some
attachment filtering on your mail server that you send through? I
don't know.
Michael
Thanks to the three of you for your help and information. I will
continue trying to make GTK work for my threaded application, and post
progress (or lack thereof).
I am still confused (by apparently conflicting inputs from the GTK FAQ
and yourselves) about when I must use which wrapper calls
15 matches
Mail list logo