wl_egl: change buffers_mutex to tpl_gmutex_rec from tpl_gmutex 01/304501/4
authorJoonbum Ko <joonbum.ko@samsung.com>
Fri, 12 Jan 2024 11:38:41 +0000 (20:38 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 18 Jan 2024 10:51:28 +0000 (19:51 +0900)
commitaa7a08a745cae17cd485881eb2b04300da6cd904
tree222013c203519ce014bf7aeed633f7763ac21e83
parenteae097b88e857d28fd0660a857fedb9cfc2cd3dd
wl_egl: change buffers_mutex to tpl_gmutex_rec from tpl_gmutex

 - When buffers are released while traversing the buffer list,
  both traversal and deletion from the list in wl_egl_buffer_free
  must be protected by buffers_mutex.
 - Since it is possible to continuously lock on the same thread,
  changed buffers_mutex to use GRecMutex.

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