Hi,

I have a special case of a multi-threaded application where I'm not sure
about the initialization and resource de-allocation.
The scenario is as follows (Clutter 1.2, eglnative/gles2):

1. Only one thread (T1) calls the Clutter API.
   T1 manually advances the context by means of g_main_context_iteration
(NULL, FALSE)
   when it desires to (clutter_main () is never called).

2. T1 may terminate.
   When that happens a new task is created (T1_2) that is the only task to
call the Clutter API
   from now on (like in 1.).
   Everything that has benn allocated by T1 may be freed (i.e. T1_2 starts
from an empty stage).


What do I need to consider, especially in terms of initialization and
de-allocation, to achive that "hand shake"?

Thanks a lot for any help.
Regards
Phil
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to