ilmControl: implement new control_thread main loop
authorMarcus Fritzsch <marcus.fritzsch@xse.de>
Mon, 28 Jul 2014 15:10:04 +0000 (17:10 +0200)
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Tue, 12 Aug 2014 13:15:12 +0000 (22:15 +0900)
commit0ccdfe5a7876e81cf266f6764c2163de0fb6eaf9
tree0961df0a37920b2231df054852686e4b60007101
parente3c3a041995127ba2a2c451d4a6bdad6d3775e1e
ilmControl: implement new control_thread main loop

* Implements a dispatch loop pretty much like the wayland
  documentation suggests.
* Acquire the context lock before each dispatching call.
* Make sure to cancel_read even when the thread is cancelled.

Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c