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

Defect in XSH sched_yield

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH sched_yield
From: yyy@xxxxxxxxx
Date: Sat, 14 Jan 2006 18:44:36 GMT
Resent-date: Sun, 15 Jan 2006 06:52:28 +0000
Resent-from: Andrew Josey <yyyyyy@xxxxxxxxxxxxxxxxx>
Resent-message-id: <1060115065229.ZM11655@xxxxxx>
Resent-to: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
        Defect report from : Howard Chu , Symas Corp.

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 0 line 0 section sched_yield objection {1}

Problem:

Edition of Specification (Year): 2004

Defect code :  2. Omission

This function is marked as belonging to both the Processor Scheduling feature 
group and the Threads feature group. The Description of this function reads:

The sched_yield() function shall force the running thread to relinquish the 
processor until it again becomes the head of its thread list. It takes no 
arguments.

However, the concept of thread lists is only defined within the context of 
Process Scheduling, which is an optional group. If a system implements the 
Threads feature group without the Process Scheduling group, then the 
definition/description has no meaning.

Action:

Either the Process Scheduling feature is a required feature when Threads are 
implemented, or a definition of this function needs to be expressed 
independently of the "thread list" concept for cases where thread lists are not 
applicable.

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