On Tue, Aug 21, 2012 at 9:56 AM, Gustavo Sverzut Barbieri
<[email protected]> wrote:
> On Tue, Aug 21, 2012 at 4:32 AM, Vincent Torri <[email protected]>wrote:
>
>> Hey
>>
>> another mail for the status on Windows:
>>
>> 1) cserve2 is not even compiling as shm_open() and (worse) fork() are
>> used in a part of the code that should be OS independent. If cserve2
>> is going to be e required dep for the next evas, i fear that the
>> Windows development will stop.
>
>
> You were supported to do a port of cserve2 to Windows or other Non-Linux
> platforms:

and you were supposed to put code specific to linux in separate files,
which is not the case. You even don't check that the functions you use
are available in configure.ac. For example, shm_open does not exist on
OpenBSD (a quick search on google and i found that :
http://www.groupsrv.com/linux/about60282.html and note that i don't
know anything about those functions, so the link is to help you,
that's all)

>    - _cserve2_slave_proc_run() could be changed to be specific of that
> platform. It uses fork(), exec() and pipe(), but you can replace the whole
> function with something that makes sense on windows. Just cope with
> read_cb() and dead_cb() and you're fine!

hopefully for you you don't know the win32 API you would be afraid of
how difficult it is to port those functions (at least for me)

>   - you need a different main loop file,
> see evas_cserve2_main_loop_linux.c, Very likely we can move the slave
> manager code into a _linux.c as well?

only you can answer that question

>   - slave and server communicates heavy data using shmem. That's the most
> efficient system on linux, you'll need to figure out what's the best to use
> on Windows. It must be HIGH PERFORMANCE.

high perf ? on Windows ? there is anyway only one way to use shared
mem on windows, so if it's slow, i can't do much...

Vincent

> If you can keep a similar API,
> then good we add a wrapper, otherwise we'll have to abstract that in
> cserve2, slaves and evas library itself.
>
> --
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --------------------------------------
> MSN: [email protected]
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to