summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/include/pthread.h
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2003-12-23 22:37:03 +0000
committerbrad <brad@openbsd.org>2003-12-23 22:37:03 +0000
commite1007a494e7f2a25ed985614fa3d251b2f850bac (patch)
treebb941c31ca4c0ef202401e5f278e231cc894a97d /lib/libpthread/include/pthread.h
parentrecognize several more wi@usb devices. (diff)
downloadwireguard-openbsd-e1007a494e7f2a25ed985614fa3d251b2f850bac.tar.xz
wireguard-openbsd-e1007a494e7f2a25ed985614fa3d251b2f850bac.zip
Add stub implementations of pthread_[gs]etconcurrency
From: FreeBSD' libc_r ok marc@
Diffstat (limited to 'lib/libpthread/include/pthread.h')
-rw-r--r--lib/libpthread/include/pthread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h
index 18a852dfe45..ed5b2744105 100644
--- a/lib/libpthread/include/pthread.h
+++ b/lib/libpthread/include/pthread.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread.h,v 1.17 2003/02/27 07:03:21 cloder Exp $ */
+/* $OpenBSD: pthread.h,v 1.18 2003/12/23 22:37:03 brad Exp $ */
/*
* Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu
@@ -306,6 +306,8 @@ int pthread_getschedparam(pthread_t pthread, int *policy,
struct sched_param * param);
int pthread_setschedparam(pthread_t pthread, int policy,
const struct sched_param * param);
+int pthread_getconcurrency(void);
+int pthread_setconcurrency(int);
#if defined(_POSIX_THREAD_PRIORITY_SCHEDULING)
int pthread_attr_getinheritsched(const pthread_attr_t *, int *);