On Thu, Feb 23, 2017 at 11:36 AM, Eric van Gyzen <vangy...@freebsd.org> wrote: > Author: vangyzen > Date: Thu Feb 23 19:36:38 2017 > New Revision: 314179 > URL: https://svnweb.freebsd.org/changeset/base/314179 > > Log: > Add sem_clockwait_np() > > This function allows the caller to specify the reference clock > and choose between absolute and relative mode. In relative mode, > the remaining time can be returned. > > The API is similar to clock_nanosleep(3). Thanks to Ed Schouten > for that suggestion. > > While I'm here, reduce the sleep time in the semaphore "child" > test to greatly reduce its runtime. Also add a reasonable timeout. > > Reviewed by: ed (userland) > MFC after: 2 weeks > Relnotes: yes > Sponsored by: Dell EMC > Differential Revision: https://reviews.freebsd.org/D9656 > > Modified: > head/contrib/netbsd-tests/lib/librt/t_sem.c > head/include/semaphore.h > head/lib/libc/gen/Makefile.inc > head/lib/libc/gen/Symbol.map > head/lib/libc/gen/sem_new.c > head/lib/libc/gen/sem_timedwait.3 > head/lib/libc/include/namespace.h > head/lib/libc/include/un-namespace.h > head/share/man/man3/pthread_testcancel.3 > head/sys/kern/kern_umtx.c > > Modified: head/contrib/netbsd-tests/lib/librt/t_sem.c
... *sigh* I really wish people would read MAINTAINERS and include me on CRs to contrib/netbsd-tests/ (especially since I spent a few weekends cleaning this up to diff reduce and contribute back changes to NetBSD). Thanks, -Ngie _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"