On Sun, 16 Dec 2012 13:11:31 +0100 Vincent Torri <vincent.to...@gmail.com> said:

> On Sun, Dec 16, 2012 at 11:33 AM, Carsten Haitzler <ras...@rasterman.com>
> wrote:
> > On Sun, 16 Dec 2012 10:54:24 +0100 Maxime Villard <rusty...@gmx.fr> said:
> >
> >> Hi,
> >> == efl/src/modules/ecore_evas/engines/buffer/ecore_evas_extn.c ==
> >> OpenBSD doesn't have shm_open(), just shmget(). As ecore_evas_extn.c
> >> doesn't seem to be used, I commented all the file and it works, but
> >> it would be better if someone adds #elif HAVE_SHMGET or replaces
> >> shm_open() by shmget(), which is standardized. I don't know these
> >> things.
> >>
> >> Thanks
> >
> > i'ts used by elementary. we will be doing more of this shm_open... because
> > it's frankly immensely more useful than sysv shm.
> >
> > 1. you have a NAME to share things by... easy to have a common known name
> > 2. evas cserve2 is built on it and cserve2 will becomes required - no
> > choice.
> > 3. shm_open etc. uses fd's and mmap. unlike sysvshm.. u can resize a shm
> > segment by just munmap+mmap or mremap(). sysvshm in linxu has some
> > EXTENSIONS to do this, but its non-standard...
> >
> > so you won't be able to avoid shm_open for a lot longer... so i suggest,
> > instead of "just disable it for bsd", you find an acceptable solution...
> > maybe pressure open/free/whatever bsd kernel devs to support it. we
> > probably need to move this api/abstraction into eina - BUT... at some point
> > those os's that dont provide something as feasible/usable/nice as above are
> > going to have a bad day. :)
> 
> shmget()+shmat()

sysvshm... can't resize segments... thats one of its big problems. also only id
based - no names.

> and that's something that should go into eina_file, and should was in
> a long time ago

only some of it. it cant create them. :)

> Vincent
> 
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to