evas/cserve2: Share paths of index tables with clients
authorJean-Philippe Andre <jp.andre@samsung.com>
Mon, 29 Jul 2013 06:41:23 +0000 (15:41 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 28 Oct 2013 06:47:13 +0000 (15:47 +0900)
commit88ef4131a0df0735ebef19306285b4bea608cbab
treed59961ffc1c7a6253c3e5ac2a2be300d18c94b25
parent47be3a2b819ed6319a65018195b31b622b547aab
evas/cserve2: Share paths of index tables with clients

- Send paths to all connected clients
- Send paths upon connection from a new client

- Client side:
 - Fast find opened images
 - Fast find loaded images
 - Optimize load by skipping socket wait

Also, remap indexes when needed (file size changed)
When index file grows, the clients are not notified, so they
must constantly check that their mapping matches the current array
size.
src/bin/evas/evas_cserve2.h
src/bin/evas/evas_cserve2_cache.c
src/bin/evas/evas_cserve2_index.c
src/bin/evas/evas_cserve2_main.c
src/lib/evas/cserve2/evas_cs2.h
src/lib/evas/cserve2/evas_cs2_client.c
src/lib/evas/cserve2/evas_cs2_private.h