ilmControl: rework init + destroy, wl_event_queue
authorMarcus Fritzsch <marcus.fritzsch@xse.de>
Mon, 28 Jul 2014 14:43:36 +0000 (16:43 +0200)
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Tue, 12 Aug 2014 13:15:12 +0000 (22:15 +0900)
commite3c3a041995127ba2a2c451d4a6bdad6d3775e1e
tree91c95f8f90f61187db7e78543779d3cd6be40b06
parent113e255f912619239e72094473014c9c7a498c6e
ilmControl: rework init + destroy, wl_event_queue

* Using a private event queue for all ilm_* internal
  wayland communication. This separates the ivi_*
  objects from whatever is used externally.
* Init not happens _only_ on ilm_init
  This also means no more is initialized polling and
  possibly exit(0)ing from get_instace()
* Fixed destroy to happen in main thread where it will
  actually be executed.
* Needed to adapt ilm_commitChanges() to new internal
  wl_event_queue.

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