Web lists-archives.com

Re: RFC: GtkPreview library

On Tue, Jan 27, 2015 at 10:55 AM, Jasper St. Pierre <jstpierre@xxxxxxxxxxx> wrote:

Wayland requires two features that would perhaps make it unportable: FD passing (SCM_CREDENTIALS), and shared memory (allocate a temporary files, ftruncate it, mmap it, unlink it and then send the fd across the wire). Everything else is just a simple Unix domain socket. Does OS X support those two features?

It would appear so:

fd passing: http://flylib.com/books/en/

shared memory is supported using the POSIX shared memory API, not the system V one. I have no idea if the combination of the two (shared memory, fd passing) together works.

gtk-devel-list mailing list