aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>2003-04-20 01:53:13 +0000
committerJohn Polstra <jdp@FreeBSD.org>2003-04-20 01:53:13 +0000
commit8c0d4b5f924e234b6742a3f12e4460c9b1c61fa2 (patch)
tree4228adc225ae50b5321485522c03b3f248d198bc /include
parentd1fc2022c3050661ade8d1b96e598c38b436b458 (diff)
downloadsrc-8c0d4b5f924e234b6742a3f12e4460c9b1c61fa2.tar.gz
src-8c0d4b5f924e234b6742a3f12e4460c9b1c61fa2.zip
Add stub implementations of pthread_[gs]etconcurrency to libc_r and
libthr. No changes were made to libpthread by request of deischen, who will soon commit a real implementation for that library. PR: standards/50848 Submitted by: Sergey A. Osokin <osa@freebsd.org.ru> MFC after: 1 week
Notes
Notes: svn path=/head/; revision=113729
Diffstat (limited to 'include')
-rw-r--r--include/pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h
index 647e70283dc0..2ac07e0cc295 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -288,6 +288,8 @@ int pthread_getschedparam(pthread_t pthread, int *,
struct sched_param *);
int pthread_setschedparam(pthread_t, int,
const struct sched_param *);
+int pthread_getconcurrency(void);
+int pthread_setconcurrency(int);
__END_DECLS
#endif