On Thu, 5 Apr 2012 06:41:56 +0200 Vincent Torri <[email protected]> said:

> On Thu, Apr 5, 2012 at 1:29 AM, Gustavo Sverzut Barbieri
> <[email protected]> wrote:
> >
> > as for fork()/exec, we asked you what was better to use to help
> > Windows. No idea if you recall, but we did ask you as our initial hope
> > was to go with "fork()" only solution, you said it couldn't be
> > supported on Windows, but the fork-exec pair could. Then we followed
> > that.
> >
> >
> >> btw, if you were doing portable code, you would use eina_file for
> >> shm_open and not shm_open directly
> >
> > http://git.profusion.mobi/cgit.cgi/antognolli/evas-cserve2/tree/src/bin/evas_cserve2_slave.c?h=cserve2#n200
> >
> > Eina file does not support PROT_WRITE. We hope it can be added later,
> > after the current version is released.
> >
> > Here we also talked to you, you mentioned that you had some ideas to
> > make the shm work for windows. Right?
> 
> yes, but 'you' (that is only linux coders) use ultra specific linux
> features. Having something in Windows which emulate more or less those
> features is sometimes just impossible.
> 
> question : why didn't you add PROT_WRITE to eina_file ?

right now eina is frozen and this can be done later. it's a start. the
eina_file stuff is only half useful as it supports only opening existing shm
segs, not creating them. ALSO existing cserve src uses shm_open already, so its
no WORSE. :)

> > If you check the code, we tried to keep these isolated to aid porting.
> > We're just not doing the port, then it is expected to miss some cases
> > that will be cleared when the first port happens.
> 
> there are some cross compilation toolchain to compile on all BSD,
> solaris and windows. It seems that you didn't use them to see what
> these "missed cases" are.
> 
> > Don't shoot the messenger (me)! :-)
> 
> the fact is : i'm fed up with you guys using linux-only features,
> don't care at all about other OS. There are cross compilation
> toolchain to check if it works or not, to port these features. You
> don't use it. I do. But I'm beginning to have a lot less motivation.

by the same token, in the linux world we COULD set up chroots for gentoo, arch,
debian, ubuntu, fedora, suse, centos...you get the idea - but we don't as its
frankly a lot of work and disk space. just accept the fact that each person
looks after a port for their favorite platforms - that's what we all do. do you
see me saying "screw you all "use ubuntu or go away?" (not saying you said that
though). i accept that each person will look after their little world of
interest and between all of us we manage to keep things portable.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to