Skip to contentSkip to conversation

pthread_attr_getinheritsched() doc fix

PATCH In review Stelian Pop 2 participants 2 messages Sep 18, 2006 – Sep 23, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pthread_attr_getinheritsched() doc fix

Hi,

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

Stelian.

skins/posix/thread_attr.c +2 -2
Index: ksrc/skins/posix/thread_attr.c
===================================================================
@@ -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.
  *
Signature · 1 line
Stelian Pop <[email protected]>
#1 lore raw
Quoted 5 lines · Stelian Pop

Hi,

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

So, someone actually reads the doc :-) Applied, thanks.

Signature · 1 line
					    Gilles Chanteperdrix.