History log of /netbsd-src/lib/libpthread/pthread_key_create.3 (Results 1 – 9 of 9)
Revision Date Author Comments
# 3e5ec8a3 22-Oct-2017 abhinav <abhinav@NetBSD.org>

Add missing function names in the NAME section for rest of the man pages in libpthread


# dbea1968 29-May-2015 wiz <wiz@NetBSD.org>

Bump date for previous.
New sentence, new line.


# 841339f0 29-May-2015 manu <manu@NetBSD.org>

Make PTHREAD_KEYS_MAX dynamically adjustable

NetBSD's PTHREAD_KEYS_MAX is set to 256, which is low compared to
other systems like Linux (1024) or MacOS X (512). As a result some
setups tested on Lin

Make PTHREAD_KEYS_MAX dynamically adjustable

NetBSD's PTHREAD_KEYS_MAX is set to 256, which is low compared to
other systems like Linux (1024) or MacOS X (512). As a result some
setups tested on Linux will exhibit problems on NetBSD because of
pthread_keys usage beyond the limit. This happens for instance on
Apache with various module loaded, and in this case no particular
developper can be blamed for going beyond the limit, since several
modules from different sources contribute to the problem.

This patch makes the limit conigurable through the PTHREAD_KEYS_MAX
environement variable. If undefined, the default remains unchanged
(256). In any case, the value cannot be lowered below POSIX-mandated
_POSIX_THREAD_KEYS_MAX (128).

While there:
- use EXIT_FAILURE instead of 1 when calling err(3) in libpthread.
- Reset _POSIX_THREAD_KEYS_MAX to POSIX mandated 128, instead of 256.

show more ...


# 83d2a686 09-Jul-2010 wiz <wiz@NetBSD.org>

Mark up NULL.


# 6aa48921 09-Jul-2010 jruoho <jruoho@NetBSD.org>

Rationalize by moving

pthread_key_delete(3) to pthread_key_create(3); and
pthread_setspecific(3) to pthread_getspecific(3)


# cd22f25e 02-May-2008 martin <martin@NetBSD.org>

Move TNF licenses to 2 clause form


# 9edf0547 04-Jul-2003 wiz <wiz@NetBSD.org>

Mark up a defined value.


# e714d726 08-Jun-2003 thorpej <thorpej@NetBSD.org>

$NetBSD$, not $Header$.


# 55818196 03-Jun-2003 nathanw <nathanw@NetBSD.org>

Man pages for libpthread, adapted from FreeBSD by Stephen Degler.