libxshmfence: Changes to 'master'

Keith Packard keithp at kemper.freedesktop.org
Wed Nov 20 14:17:57 PST 2013


 Makefile.am             |    2 
 configure.ac            |  113 ++++++++++++++++++++++++++++++
 src/Makefile.am         |   15 +++-
 src/xshmfence.c         |  144 --------------------------------------
 src/xshmfence.h         |   30 ++++----
 src/xshmfence_alloc.c   |   88 +++++++++++++++++++++++
 src/xshmfence_futex.c   |   94 +++++++++++++++++++++++++
 src/xshmfence_futex.h   |   70 ++++++++++++++++++
 src/xshmfence_pthread.c |  131 +++++++++++++++++++++++++++++++++++
 src/xshmfence_pthread.h |   39 ++++++++++
 src/xshmfenceint.h      |   44 +----------
 test/Makefile.am        |    9 ++
 test/xshmfence_test.c   |  178 ++++++++++++++++++++++++++++++++++++++++++++++++
 xshmfence.pc.in         |    3 
 14 files changed, 762 insertions(+), 198 deletions(-)

New commits:
commit d4938bf5e57375b70c73831402fc8637996aad31
Author: Keith Packard <keithp at keithp.com>
Date:   Wed Nov 20 11:23:56 2013 -0800

    Set symbol visibility attribute to hide internal symbols
    
    Expose only the official API.
    
    Signed-off-by: Keith Packard <keithp at keithp.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>

commit e390e3aaee3dace2a1e6cfe66efd884fc256b0f0
Author: Keith Packard <keithp at keithp.com>
Date:   Wed Nov 20 11:22:04 2013 -0800

    Provide pthread-based alternative implementation
    
    This uses pthread mutexes and condition variables instead of futexes.
    
    Signed-off-by: Keith Packard <keithp at keithp.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>

commit daa78ee9a5f9b5590d540aa06466d6728fb2c795
Author: Keith Packard <keithp at keithp.com>
Date:   Wed Nov 20 11:19:50 2013 -0800

    Split out futex implementation from general API
    
    This splits the futex-specific code out into a separate file so that
    future versions of the library could use some other underlying primitive.
    
    Signed-off-by: Keith Packard <keithp at keithp.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>

commit e15fa576597fb09330e603d17a51d7449a392e7c
Author: Keith Packard <keithp at keithp.com>
Date:   Wed Nov 20 09:13:48 2013 -0800

    Add test program
    
    Signed-off-by: Keith Packard <keithp at keithp.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>

commit bdbb26378da91e541f2fe2b3e827d9f6ed11f4a8
Author: Keith Packard <keithp at keithp.com>
Date:   Wed Nov 20 09:12:36 2013 -0800

    Use O_TMPFILE if available
    
    Signed-off-by: Keith Packard <keithp at keithp.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>

commit c17583d05872e4d9fb39af1a9963dc3738556b27
Author: Keith Packard <keithp at keithp.com>
Date:   Wed Nov 20 08:30:44 2013 -0800

    Locate directory for shared memory files at configure time
    
    Signed-off-by: Keith Packard <keithp at keithp.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>

commit b394d499eeb6abb0f23a629f22f6634f137d279e
Author: Keith Packard <keithp at keithp.com>
Date:   Wed Nov 20 08:25:44 2013 -0800

    Change fence memory type from 'int32_t' to 'struct shmfence'
    
    This will allow other implementations to use alternate
    representations, as well as providing additional typechecking.
    
    Signed-off-by: Keith Packard <keithp at keithp.com>
    Reviewed-by: Adam Jackson <ajax at redhat.com>



More information about the xorg-commit mailing list