Hi,

The attached patchlet fixes the documentation of
pthread_attr_getinheritsched() (PTHREAD_INHERIT_SCHED and
PTHREAD_EXPLICIT_SCHED were reversed).

Stelian.

Index: ksrc/skins/posix/thread_attr.c
===================================================================
--- ksrc/skins/posix/thread_attr.c      (révision 1648)
+++ ksrc/skins/posix/thread_attr.c      (copie de travail)
@@ -305,10 +305,10 @@
  * This service returns at the address @a inheritsched the value of the @a
  * inheritsched attribute in the attribute object @a attr.
  *
- * Threads created with this attribute set to PTHREAD_EXPLICIT_SCHED will use
+ * Threads created with this attribute set to PTHREAD_INHERIT_SCHED will use
  * the same scheduling policy and priority as the thread calling
  * pthread_create(). Threads created with this attribute set to
- * PTHREAD_INHERIT_SCHED will use the value of the @a schedpolicy attribute as
+ * PTHREAD_EXPLICIT_SCHED will use the value of the @a schedpolicy attribute as
  * scheduling policy, and the value of the @a schedparam  attribute as 
scheduling
  * priority.
  *

-- 
Stelian Pop <[EMAIL PROTECTED]>


_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to