On Wed, 2008-07-09 at 14:23 +0800, HASWANI HARISH-VCKR47 wrote:
> Hi Mathew, Emmanuele,
> I am seeing a peculiar issue : 
>  
> - Created two g_threads( say Thread 1 and Thread 2)
> - Thread 1 is main thread which spawns thread 2.
> - Thread 2, creates clutter stage ( only stage no actors). after
> creation of stage thread 2 enters in clutter_main() loop.
> - Once Thread 2 is in clutter main loop, thread 1 creates an Texture
> actor and emits a signal to thread 2 ( which has created stage)
> - Upon receiving signal, signal handler adds the actor on stage and
> calls clutter_actor_show() for that texture actor.
>  
> ISSUE is : I am not able to see the actor. What may be the issue?
 
have you called clutter_threads_init()? are you using
clutter_threads_add_idle() to emit the signal and manipulate the texture
in the same thread that called clutter_main()? have you even looked at
the test-threads test/example that ships with Clutter?

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, OpenedHand Ltd.
Unit R, Homesdale Business Centre
216-218 Homesdale Rd., Bromley - BR12QZ
http://www.o-hand.com

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to