Use timer to call the output change callback of the sub-thread. 32/79232/3
authorBoram Park <boram1288.park@samsung.com>
Sat, 9 Jul 2016 08:58:04 +0000 (17:58 +0900)
committerBoram Park <boram1288.park@samsung.com>
Sat, 9 Jul 2016 09:14:42 +0000 (18:14 +0900)
commitf2653134995c5a4b918eb1ed5ac09efb35acf77a
treead8f250cb117c6f341cf1bc81eeb57e342894ecf
parentbac98a645dc507a923680978ff6b45bb0efa0726
Use timer to call the output change callback of the sub-thread.

The output change callback of tdm_server and tdm_vblank was called
in the main thread. And it made the multi thread issue. If we use
the timer, we can call the sub-thread's output change callback in
sub-thread.

And, after tdm_event_loop_deinit, we don't worry about thread things
because it's finalized.

Change-Id: I69013b302673551b887384325b14c94e3a53646c
src/tdm.c
src/tdm_display.c
src/tdm_event_loop.c
src/tdm_macro.h
src/tdm_private.h
src/tdm_server.c
src/tdm_thread.c
src/tdm_vblank.c