]> sourceware.org Git - newlib-cygwin.git/commitdiff
* sysconf.cc (sysconf): Add _SC_THREADS, _SC_THREAD_ATTR_STACKSIZE,
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 13 Apr 2006 12:14:05 +0000 (12:14 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 13 Apr 2006 12:14:05 +0000 (12:14 +0000)
_SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PROCESS_SHARED,
_SC_THREAD_SAFE_FUNCTIONS, _SC_TIMERS handling.

winsup/cygwin/ChangeLog
winsup/cygwin/sysconf.cc

index 5e4f22c79151b553bd88fb2d08e69b419c54abc5..6512b56f96a34bf8ebb5f66fb51f3be2c6a56449 100644 (file)
@@ -1,3 +1,9 @@
+2006-04-13  Corinna Vinschen  <corinna@vinschen.de>
+
+       * 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.
+
 2006-04-12  Corinna Vinschen  <corinna@vinschen.de>
            Christopher Faylor  <cgf@timesys.com>
 
index bdbbb99be0f757b4379400180001e556691ce381..be0d2cd2908c861a8c9370fe8fff99a4345f40e2 100644 (file)
@@ -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 */
This page took 0.03641 seconds and 5 git commands to generate.