2009/12/2 danny tornad...@163.com:
Your demo program works normally for me.
Thank you very much for this information. I tested this on another
computer and it worked.
So I'm using clutter and threads in right way. (Maybe there should be
little bit more manual than
On Wed, 2009-12-02 at 11:27 +0200, Aapo Rantalainen wrote:
2009/12/2 danny tornad...@163.com:
Your demo program works normally for me.
Thank you very much for this information. I tested this on another
computer and it worked.
So I'm using clutter and threads in right way.
no, you really
but at least that code shows you how to use threads - and you're
not even close to how test-threads is implemented.
Hi, now I made my test preloader top of test-thread.c
This is diff:
--- old_test-threads.c 2009-12-02 14:53:11.0 +0200
+++ test-threads.c 2009-12-02
On Wed, 2009-12-02 at 13:52 +, Emmanuele Bassi wrote:
oh, and by the way: if your only goal is to load a texture from file
asynchronously, please - *please* - do what Bastian already suggested,
and use the :load-async property of ClutterTexture. it will
transparently use threads to load the
Hi, thanks, I got it working.
In test-threads.c there was this row:
clutter_threads_add_idle_full (G_PRIORITY_DEFAULT + 30,
update_label_idle,
update, NULL);
So I though it is safe to put my clutter_* code same
On Wed, 2009-12-02 at 16:54 +0200, Aapo Rantalainen wrote:
Hi, thanks, I got it working.
In test-threads.c there was this row:
clutter_threads_add_idle_full (G_PRIORITY_DEFAULT + 30,
update_label_idle,
update,
Just curious, what is the point of the threads_enter threads_leave
API if everything breaks outside of the main thread? Isn't even
providing them asking for misunderstandings like this?
You can replace the locking primitives Clutter uses through
clutter_threads_set_lock_functions()
And use,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I'm currently evaluating the possibility to build an application using
clutter (better if via perl of python bindings) and I'm wondering if
clutter could be a suitable approach.
My goal is to have one application running on a