gsource is automatically restored when a problem occurs in eventfd. 36/231436/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Tue, 21 Apr 2020 09:30:15 +0000 (18:30 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Tue, 21 Apr 2020 09:30:18 +0000 (18:30 +0900)
commit09aa0b74e9c487e65a26676d04dcee96edb93998
tree086e3506eb2513534e9c4a57f5f8de5123355beb
parenta2e1ab6fe7e2a4463c452579f2a6522945a7bc25
gsource is automatically restored when a problem occurs in eventfd.

 - Problems caused from other libraries that attempt to use the wrong fd
  often affect the eventfd of surf_source or del_source.
 - In such a case, in the past, assert checking was used to generate abort
  and it was not good.
 - So I made it possible to regenerate eventfd to minimize
  the abort generated by libtpl-egl and overcome the problem situation.

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