about summary refs log tree commit diff
path: root/src/conf/sysconf.c
Commit message (Collapse)AuthorAgeFilesLines
* let sysconf accurately report # of cpus availableRich Felker2012-05-131-2/+10
| | | | | i've been trying out openmp and it seems like it won't be much use without this...
* fix broken sysconf when correct value is -1Rich Felker2012-04-211-1/+1
| | | | | this caused glib to try to allocate >2gb for getpwnam_r, and probably numerous other problems.
* sysconf support for dynamic limits (open files and processes)Rich Felker2012-03-221-2/+9
|
* sysconf for PTHREAD_KEYS_MAXRich Felker2011-10-031-1/+1
|
* define MQ_PRIO_MAXRich Felker2011-06-071-1/+1
|
* better fix sysconf pthread stack minRich Felker2011-04-081-1/+1
|
* consistency with pthread stack min in limits.hRich Felker2011-04-081-1/+1
|
* fix sem_open and sem_close to obey posix semanticsRich Felker2011-03-101-5/+5
| | | | | | | | | multiple opens of the same named semaphore must return the same pointer, and only the last close can unmap it. thus the ugly global state keeping track of mappings. the maximum number of distinct named semaphores that can be opened is limited sufficiently small that the linear searches take trivial time, especially compared to the syscall overhead of these functions.
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+222