[PATCH wayland] shm: Add wl_shm_buffer get/put functions

Bill Spitzak spitzak at gmail.com
Sun Oct 4 11:21:08 PDT 2015


On 10/04/2015 08:34 AM, Giulio Camuffo wrote:
> 2015-07-18 0:30 GMT+03:00 Derek Foreman <derekf at osg.samsung.com>:
>> Sometimes the compositor wants to make sure a shm pool doesn't disappear
>> out from under it.
>>
>> For example, in Enlightenment, rendering happens in a separate thread
>> while the main thread can still dispatch events.  If a client is destroyed
>> during rendering, all its resources are cleaned up and its shm pools are
>> unmapped.  This causes the rendering thread to segfault.

Why is Enlightenment rendering into shared memory owned by the client?



More information about the wayland-devel mailing list