thread: only allow a sync event from tdm-thread to display-thread 31/174431/1
authorBoram Park <boram1288.park@samsung.com>
Mon, 2 Apr 2018 06:51:42 +0000 (15:51 +0900)
committerBoram Park <boram1288.park@samsung.com>
Mon, 2 Apr 2018 06:51:42 +0000 (15:51 +0900)
commit4abfab3661147e28398df7be7b35f3cf7973be8f
tree8b124563e1f7c567ee6b96602661c90ecc899931
parente304b438166ecfce08fec402ffe1b9b855e54644
thread: only allow a sync event from tdm-thread to display-thread

A sync-type event from display-thread to tdm-thread can't be handled.
If sync-type events happen in both threads at the same time,
it would make a deadlock issue.

Change-Id: Ic45207a173dfe9413f419506da1a6d36e86d06e3
src/tdm_thread.c