Commit Graph

8 Commits

Author SHA1 Message Date
ChunEon Park e9511baea9 evas/cserve2 - removed warnings
SVN revision: 78597
2012-10-29 01:33:58 +00:00
Mike Blumenkrantz 2a45ea31ce use correct format string
SVN revision: 72845
2012-06-26 06:50:36 +00:00
Rafael Antognolli de3a6a067b evas/cserve2: Add basic error handling on thread
slave.
It will now receive errors from the thread callback and call the error
request function, with the respective error type in the message.



SVN revision: 71606
2012-05-31 21:34:28 +00:00
Rafael Antognolli c9f610366c evas/cserve2: Slave thread is only a simple callback.
The implementation of the slave doesn't need to care about reading
commands and sending answers. It just receives the arguments for its job
and returns the processed data.



SVN revision: 71599
2012-05-31 21:33:43 +00:00
Rafael Antognolli 9a469b778c evas/cserve2: Add threaded slave support.
It's not being used yet, but the font slave will be done using this
code.



SVN revision: 71598
2012-05-31 21:33:37 +00:00
Rafael Antognolli 796df2896c evas/cserve2: Refactory slave to inherit from a slave base.
The Slave_Proc now inherits from Slave, which implements all the
communication logic. The Slave_Proc only has specific code for
processes, while a new Slave_Thread should be added soon with code for
slave threads.



SVN revision: 71368
2012-05-23 20:39:39 +00:00
Iván Briano c97f25128b cserve2 warnings begone
SVN revision: 70845
2012-05-07 17:22:06 +00:00
Iván Briano 15328efb85 evas/cserve2: fix typo that kept cserve2 disabled
now seriously...

Introducing Cache Serve 2.

This cache server will initially load images for clients connected to
it. It starts slave processes to load these images, and share the loaded
images through shm with the clients. All the connection done between
clients and the server goes through sockets.

The cserve2 build option is turned on by default, while the old cserve
was disabled, but in order to make clients use it, the environment
variable EVAS_CSERVE2 must be set, and a server must be running.

Clients will try to find the socket on a specified location using the
environment variable EVAS_CSERVE2_SOCKET. If it's not defined, then the
XDG_RUNTIME_DIR path should be used, and finally HOME, TMPDIR and /tmp.



SVN revision: 70699
2012-05-03 21:01:31 +00:00