[Glibc-bsd-commits] r5460 - trunk/glibc-ports/fbtl/sysdeps/pthread

ps-guest at alioth.debian.org ps-guest at alioth.debian.org
Thu Apr 3 14:49:12 UTC 2014


Author: ps-guest
Date: 2014-04-03 14:49:12 +0000 (Thu, 03 Apr 2014)
New Revision: 5460

Modified:
   trunk/glibc-ports/fbtl/sysdeps/pthread/pthread.h
Log:
update set of available functions in pthread.h


Modified: trunk/glibc-ports/fbtl/sysdeps/pthread/pthread.h
===================================================================
--- trunk/glibc-ports/fbtl/sysdeps/pthread/pthread.h	2014-03-23 00:19:02 UTC (rev 5459)
+++ trunk/glibc-ports/fbtl/sysdeps/pthread/pthread.h	2014-04-03 14:49:12 UTC (rev 5460)
@@ -394,8 +394,6 @@
 
 #ifdef __USE_GNU
 
-#ifdef _LIBC /* not yet supported, so do not expose outside libc */
-
 /* Thread created with attribute ATTR will be limited to run only on
    the processors represented in CPUSET.  */
 extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr,
@@ -410,6 +408,8 @@
 					cpu_set_t *__cpuset)
      __THROW __nonnull ((1, 3));
 
+#ifdef _LIBC /* not yet supported, so do not expose outside libc */
+
 /* Get the default attributes used by pthread_create in this process.  */
 extern int pthread_getattr_default_np (pthread_attr_t *__attr)
      __THROW __nonnull ((1));
@@ -449,6 +449,7 @@
 /* Set the scheduling priority for TARGET_THREAD.  */
 extern int pthread_setschedprio (pthread_t __target_thread, int __prio)
      __THROW;
+#endif /* not yet supported, so do not expose outside libc */
 
 
 #ifdef __USE_GNU
@@ -462,7 +463,6 @@
      __THROW __nonnull ((2));
 #endif
 
-#endif /* not yet supported, so do not expose outside libc */
 
 #ifdef __USE_UNIX98
 /* Determine level of concurrency.  */
@@ -479,8 +479,6 @@
    implementation.  */
 extern int pthread_yield (void) __THROW;
 
-#ifdef _LIBC /* not yet supported, so do not expose outside libc */
-
 /* Limit specified thread TH to run only on the processors represented
    in CPUSET.  */
 extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize,
@@ -492,8 +490,6 @@
 				   cpu_set_t *__cpuset)
      __THROW __nonnull ((3));
 
-#endif /* not yet supported, so do not expose outside libc */
-
 #endif
 
 




More information about the Glibc-bsd-commits mailing list