Regards,
Harish Haswani,
LJ-P2P, GRAPHICS, MME Group, MIEL, Bangalore, INDIA
Ph: 91-80-26014164

-----Original Message-----
From: HASWANI HARISH-VCKR47 
Sent: Wednesday, July 09, 2008 12:32 PM
To: 'Emmanuele Bassi'
Subject: RE: [clutter] Multiple thread

Hi Bassi,

- I am not using clutter_thread. I have created g_threads.
- I am creating actors in seprate thread. Clutter_main () is in other
thread. 

Regards,
Harish Haswani,
LJ-P2P, GRAPHICS, MME Group, MIEL, Bangalore, INDIA
Ph: 91-80-26014164

-----Original Message-----
From: Emmanuele Bassi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2008 12:28 PM
To: [email protected]
Subject: Re: [clutter] Multiple thread

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]

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

Reply via email to