diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-04-13 12:14:05 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-04-13 12:14:05 +0000 |
commit | 414969016e34b370e17ce4754bfcf23435f028f3 (patch) | |
tree | bf818aeb63a74418757626bd7781e1cd3a7e661f /winsup/cygwin/sysconf.cc | |
parent | 2e9d484382fe45ff1dcd325be0992b1857f9498d (diff) | |
download | newlib-414969016e34b370e17ce4754bfcf23435f028f3.zip newlib-414969016e34b370e17ce4754bfcf23435f028f3.tar.gz newlib-414969016e34b370e17ce4754bfcf23435f028f3.tar.bz2 |
* sysconf.cc (sysconf): Add _SC_THREADS, _SC_THREAD_ATTR_STACKSIZE,
_SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PROCESS_SHARED,
_SC_THREAD_SAFE_FUNCTIONS, _SC_TIMERS handling.
Diffstat (limited to 'winsup/cygwin/sysconf.cc')
-rw-r--r-- | winsup/cygwin/sysconf.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/winsup/cygwin/sysconf.cc b/winsup/cygwin/sysconf.cc index bdbbb99..be0d2cd 100644 --- a/winsup/cygwin/sysconf.cc +++ b/winsup/cygwin/sysconf.cc @@ -125,6 +125,20 @@ sysconf (int in) return TTY_NAME_MAX; case _SC_MEMLOCK_RANGE: return _POSIX_MEMLOCK_RANGE; + case _SC_SEMAPHORES: + return _POSIX_SEMAPHORES; + case _SC_THREADS: + return _POSIX_THREADS; + case _SC_THREAD_ATTR_STACKSIZE: + return _POSIX_THREAD_ATTR_STACKSIZE; + case _SC_THREAD_PRIORITY_SCHEDULING: + return _POSIX_THREAD_PRIORITY_SCHEDULING; + case _SC_THREAD_PROCESS_SHARED: + return _POSIX_THREAD_PROCESS_SHARED; + case _SC_THREAD_SAFE_FUNCTIONS: + return _POSIX_THREAD_SAFE_FUNCTIONS; + case _SC_TIMERS: + return _POSIX_TIMERS; } /* Invalid input or unimplemented sysconf name */ |