Allow disabling the timeline pool via environment variables
All the ClutterTimeline share a ClutterTimeoutPool by default. This might cause problems if an application is using a heavily threaded library that does not play nicely with the main loop (like libneon). If this is the case, using the CLUTTER_TIMELINE environment variable set to "no-pool" makes the ClutterTimeline objects discard the pool and allocate a slice of the main loop.
This commit is contained in:
@ -349,7 +349,8 @@ clutter_timeout_pool_finalize (GSource *source)
|
||||
* always sorted, so that the extraction of the next timeout function is
|
||||
* a constant time operation.
|
||||
*
|
||||
* Inside Clutter, every #ClutterTimeline share the same timeout pool.
|
||||
* Inside Clutter, every #ClutterTimeline share the same timeout pool, unless
|
||||
* the CLUTTER_TIMELINE=no-pool environment variable is set.
|
||||
*
|
||||
* Return value: the newly created #ClutterTimeoutPool
|
||||
*
|
||||
|
Reference in New Issue
Block a user