What about platforms which don't have <linux/futex.h> ?

Right now, xorg-server cannot build without xshmfence, and xshmfence cannot
build without Linux-only API's.   There needs to be some way for Solaris,
BSD, MacOS and Cygwin to build without this, whether it's making xshmfence
optional for xorg-server or making xshmfence work with mutexes or other
portable API's.

        -alan-

On 10/31/13 04:47 PM, Keith Packard wrote:

This is a tiny library that exposes a event API on top of Linux
futexes. There was some discussion about using eventfd instead of this,
but the cost of adding two FDs to the X server for every DRI application
seems excessive, and by using PresentIdleNotify events, I've worked
around the limitations of futexes.

Keith Packard (2):
       Import first version of the library
       Update to verion 1.0

git tag: libxshmfence-1.0

http://xorg.freedesktop.org/archive/individual/lib/libxshmfence-1.0.tar.bz2
MD5:  b4437ce302bd6c3f4abda3d9330ddcf9  libxshmfence-1.0.tar.bz2
SHA1: 89c4eac8ff54755dafe821063c13b8ced858416a  libxshmfence-1.0.tar.bz2
SHA256: 625089553939baa20e665873a6c8f3d694cfde78fb3110aa59da92fd2b14f14f  
libxshmfence-1.0.tar.bz2

http://xorg.freedesktop.org/archive/individual/lib/libxshmfence-1.0.tar.gz
MD5:  351e5154bef5163544960d02959c3f1e  libxshmfence-1.0.tar.gz
SHA1: 05d70451f8441209e32fa4558d676554d00ce641  libxshmfence-1.0.tar.gz
SHA256: c3cae4af04323f6fcefd77a16ed1f83b0cf98f161e66623359a975aacc8fa10e  
libxshmfence-1.0.tar.gz



_______________________________________________
xorg-announce mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-announce



--
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to