Update the deleted/updated callback call routine.
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 18 Apr 2014 02:36:27 +0000 (11:36 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 18 Apr 2014 02:36:27 +0000 (11:36 +0900)
commit2735c957022c72d376ea885d8dcb187781bb0fd2
tree3561b8b62047cddea3d45afb912e750c885ab4a9
parent5364a644ddb3629b001f989c9fe0eb55bedcb1c2
Update the deleted/updated callback call routine.

While processing the updated/deleted callback, any item can be deleted.
Using in_use flag, if there is deleting request while processing callback list,
don't delete item directly just toggle the deleted flag.
After callback call, check the deleted flag. if the deleted flag is toggled,
Then delete it from the list safely.

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