diff options
author | 2003-06-10 05:00:51 +0000 | |
---|---|---|
committer | 2003-06-10 05:00:51 +0000 | |
commit | d4ee573da67d8f637af780166450f319eaf0d1fd (patch) | |
tree | b960ecf55fe9bb8191840d65970c02b2caa5cda8 /lib/libpthread | |
parent | - rip out support for a.out and 32-bit kernels (diff) | |
download | wireguard-openbsd-d4ee573da67d8f637af780166450f319eaf0d1fd.tar.xz wireguard-openbsd-d4ee573da67d8f637af780166450f319eaf0d1fd.zip |
Use ITIMER_VIRTUAL instead of ITIMER_PROF as the thread scheduler
timer. Allows threaded aps to be profiled. Tested on i386,
alpha, macppc, sparc64 and vax. miod@ says: I think this is the
right thing to do.
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index 3b2cbb399f0..7dce21262ac 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.19 2003/05/01 23:34:51 marc Exp $ +# $OpenBSD: Makefile,v 1.20 2003/06/10 05:00:51 marc Exp $ # # The pthread library is formed from the FreeBSD uthread sources of @@ -10,6 +10,7 @@ LIBCSRCDIR= ${.CURDIR}/../libc LIB= pthread LINTFLAGS= -z +CFLAGS+= -D_PTHREADS_COMPAT_SCHED CFLAGS+= -DPTHREAD_KERNEL -D_POSIX_THREADS -D_THREAD_SAFE -Wall CFLAGS+= -Wpointer-arith -Wwrite-strings -Wstrict-prototypes CFLAGS+= -Wmissing-prototypes -Wsign-compare # -Werror |