projects
/
platform
/
core
/
uifw
/
libtpl-egl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bc3202
)
tpl_wayland_egl_thread: Added object lock/unlock at the time of in_use_buffer list...
22/147422/3
author
joonbum.ko
<joonbum.ko@samsung.com>
Fri, 1 Sep 2017 02:06:18 +0000
(11:06 +0900)
committer
joonbum.ko
<joonbum.ko@samsung.com>
Mon, 4 Sep 2017 09:28:33 +0000
(18:28 +0900)
Change-Id: I9e6d3ae6fea8df6caa4fc2ffba7d7ce348408d2c
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl_thread.c
patch
|
blob
|
history
diff --git
a/src/tpl_wayland_egl_thread.c
b/src/tpl_wayland_egl_thread.c
index
5cbe4c8
..
d0f9bb2
100644
(file)
--- a/
src/tpl_wayland_egl_thread.c
+++ b/
src/tpl_wayland_egl_thread.c
@@
-1679,7
+1679,10
@@
twe_surface_del(twe_surface_h twe_surface)
sched_yield();
}
+ TPL_OBJECT_LOCK(&surf_source->obj);
__tpl_list_free(surf_source->in_use_buffers, NULL);
+ TPL_OBJECT_UNLOCK(&surf_source->obj);
+
surf_source->in_use_buffers = NULL;
TPL_OBJECT_LOCK(&disp_source->obj);