diff options
author | 2018-10-21 17:07:24 +0000 | |
---|---|---|
committer | 2018-10-21 17:07:24 +0000 | |
commit | 2b819b9469dd1b5852b324ae10fcffed47a792b5 (patch) | |
tree | 5293dffb8a8dad753eca0dfc6fd018e9c5366981 /lib/libc | |
parent | Add flock insertion tests covering all possible forms of byte range overlap. (diff) | |
download | wireguard-openbsd-2b819b9469dd1b5852b324ae10fcffed47a792b5.tar.xz wireguard-openbsd-2b819b9469dd1b5852b324ae10fcffed47a792b5.zip |
Switch alpha to futex(2) based condvars, mutexes and semaphores.
From Brad, tested by Miod, OK kettenis@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/thread/Makefile.inc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/thread/Makefile.inc b/lib/libc/thread/Makefile.inc index bd53875baa6..d94de6ee9ff 100644 --- a/lib/libc/thread/Makefile.inc +++ b/lib/libc/thread/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.17 2018/10/15 13:03:11 visa Exp $ +# $OpenBSD: Makefile.inc,v 1.18 2018/10/21 17:07:24 visa Exp $ .PATH: ${LIBCSRCDIR}/thread @@ -19,10 +19,11 @@ notyet= rthread_condattr_clock.c \ spinlock.c \ spinlocktry.c -.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \ - ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || \ - ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el" || \ - ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" +.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "alpha" || \ + ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "arm" || \ + ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "mips64" || \ + ${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "powerpc" || \ + ${MACHINE_ARCH} == "sparc64" CFLAGS+= -DFUTEX SRCS+= rthread_mutex.c \ rthread_cond.c |