Update pending list management code
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 15 Nov 2013 13:26:59 +0000 (22:26 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 15 Nov 2013 13:26:59 +0000 (22:26 +0900)
commit55184d32e36b29b4c8e2daa65c9f1f2bd3a3e093
tree896930ff28fd01f557299fcf82957c16c0bd2508
parent8f6f870db8dad63e4272b1a72fdec594cf664ae8
Update pending list management code

if the dbox is not shown yet (not the pause,resume event).
do not append it to pending list.

instead of pending list, add it to hidden list.
so if it is shown (render buffer is ready to draw something one it, in case of script type),
move it to the pending list from hidden list.

so while creating a render buffer from master,
the livebox will not do busy waiting now.

just it will do update again when it gets shown.
(move from hidden_list to pending_list)

Change-Id: Ic13db8f7d7c2f8bc2c6908975bfb6dac6a9a06d3
packaging/com.samsung.data-provider-slave.spec
src/lb.c