Email List: Xaustin-review-lX
[All Lists]

Defect in XSH pthread_attr_getschedpolicy()

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH pthread_attr_getschedpolicy()
From: yyyyyyy@xxxxxxxxxx
Date: Thu, 13 Feb 2003 09:10:59 GMT
        Defect report from : Ulrich Drepper , Red Hat

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 989 line 31443 section pthread_attr_getschedpolicy() objection {ptattr-2}

Problem:

Defect code :  2. Omission

The standard does not mention anywhere the default value of the value retrieved 
via pthread_attr_getschedpolicy() after a call to
pthread_attr_init().

The pthread_attr_getguardsize() man page does contain the appropriate 
information.

I would guess the default value is SCHED_OTHER.

Action:

Add new paragraph after line 31442:

  The default value of the /schedpolicy/ attribute is <t>SCHED_OTHER<t>

<Prev in Thread] Current Thread [Next in Thread>