pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/libxshmfence



Module Name:    pkgsrc
Committed By:   tnn
Date:           Thu Sep 24 23:34:16 UTC 2015

Modified Files:
        pkgsrc/x11/libxshmfence: DESCR Makefile distinfo
Added Files:
        pkgsrc/x11/libxshmfence/files: xshmfence_semaphore.c
            xshmfence_semaphore.h
        pkgsrc/x11/libxshmfence/patches: patch-configure.ac
            patch-src_Makefile.am patch-src_xshmfence__alloc.c
            patch-src_xshmfenceint.h

Log Message:
Add makeshift NetBSD support using POSIX semaphores.

Not upstreamed because I think NetBSD should be given the chance to
implement some better interprocess synchronization primitives first.
See PR lib/49529.

In particular what's missing is an interprocess sync primitive that can:
  1) be passed safely through MAP_SHARED memory
  2) support atomic unlock-and-block (like pthread_cond_wait)
  3) wake up all waiters at once


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/libxshmfence/DESCR \
    pkgsrc/x11/libxshmfence/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/libxshmfence/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/libxshmfence/files/xshmfence_semaphore.c \
    pkgsrc/x11/libxshmfence/files/xshmfence_semaphore.h
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/libxshmfence/patches/patch-configure.ac \
    pkgsrc/x11/libxshmfence/patches/patch-src_Makefile.am \
    pkgsrc/x11/libxshmfence/patches/patch-src_xshmfence__alloc.c \
    pkgsrc/x11/libxshmfence/patches/patch-src_xshmfenceint.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index