modify the locking buffer->mutex to include surface_commit 91/303691/1
authorjinbong, Lee <jinbong.lee@samsung.com>
Tue, 19 Sep 2023 04:50:56 +0000 (13:50 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Wed, 3 Jan 2024 05:51:22 +0000 (14:51 +0900)
commit203f0a6168ba7585cd2db69b120c28a3b4ab9e30
tree80b6ef303cf393cbe7637a9291a46a51662b6bb8
parent42d270e66945b89f996856dd7f6f0808745fd36a
modify the locking buffer->mutex to include surface_commit

 - In the case when _thread_wl_surface_commit() is called after
  the mutex of wl_egl_buffer has been unlocked in the thread,
  the wl_egl_buffer may be freed in the parent thread.
 - In that case, a problem occurs during commit operation.
  Therefore, the buffer must be maintained until the commit is completed.

Change-Id: I994b4ed1a1c8670d3f6f25ec580681875ece7c0a
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/tpl_wl_egl_thread.c