On Fri, 2006-02-03 at 23:14 +0100, kornelix wrote:
> If I have understood the implications correctly, then writing
> multi-threaded applications with GTK may be possible, but I am almost
> ready to give it up because of the complexity and limitations. I will
> check how hard it will be to conver
> > FYI, here is something I pulled from the Microsoft web site on Win32
> > programming with threads.
> That's a bit irrelevant: the Win32 API doesn't need to run on different
> architectures, different OSes, and with different graphics-drawing backends.
Indeed. And actually, I was a bit sur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2/3/2006 2:14 PM, kornelix wrote:
> I last reported that GTK was making my multi-threaded application run
> as multiple single threads, one after the other. It was suggested to
> lock only the GTK calls instead of the whole thread. I tried this.
>
On 2/3/06, kornelix <[EMAIL PROTECTED]> wrote:
> I last reported that GTK was making my multi-threaded application run
> as multiple single threads, one after the other. It was suggested to
> lock only the GTK calls instead of the whole thread. I tried this.
>
> I wrapped the individual GTK calls
I last reported that GTK was making my multi-threaded application run
as multiple single threads, one after the other. It was suggested to
lock only the GTK calls instead of the whole thread. I tried this.
I wrapped the individual GTK calls as follows:
gdk_threads_enter();
do GTK calls
On Wed, 2006-02-01 at 10:44 +0100, kornelix wrote:
> Thanks for your generous help. I will try Michael's suggestion and see
> how it works.
>
> I would like to implement all GTK calls in the main program as Tristan
> suggested, but this seems to be very complex (must implement asynch.
> queues
Thanks for your generous help. I will try Michael's suggestion and see
how it works.
I would like to implement all GTK calls in the main program as Tristan
suggested, but this seems to be very complex (must implement asynch.
queues of data going back and forth between threads and main(), where
On Tue, 2006-01-31 at 18:28 +0100, kornelix wrote:
> Following the guidelines in the FAQ, I constructed my application
> threads as follows:
>
>gdk_threads_enter();// enter thread
> (do some work, including GTK calls)
>gdk_flush();// e
kornelix wrote:
Following the guidelines in the FAQ, I constructed my application
threads as follows:
gdk_threads_enter();// enter thread
(do some work, including GTK calls)
gdk_flush();// exit thread
gdk_threads_leave(); return 0;
N
Following the guidelines in the FAQ, I constructed my application
threads as follows:
gdk_threads_enter();// enter thread
(do some work, including GTK calls)
gdk_flush();// exit thread
gdk_threads_leave();
return 0;
Now my multi-thr
10 matches
Mail list logo