diff options
author | jdp <jdp@FreeBSD.org> | 2003-04-20 01:53:13 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2003-04-20 01:53:13 +0000 |
commit | 6090151f12c8e22f86ebd5f7730f05eb236aa4ed (patch) | |
tree | 4228adc225ae50b5321485522c03b3f248d198bc /include | |
parent | f781b4eab2127109ca56df4056f960a6448fa5e0 (diff) | |
download | FreeBSD-src-6090151f12c8e22f86ebd5f7730f05eb236aa4ed.zip FreeBSD-src-6090151f12c8e22f86ebd5f7730f05eb236aa4ed.tar.gz |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/pthread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h index 647e702..2ac07e0 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 |