Resource Sequencing Rule
Description
Request queue sequencing rules are called to determine a ranking value for the load.
Synopsis
#include "factor.h"
double myrule(ldp, atrib)
LOAD *ldp; /* Pointer to the load. */
ATTRIBUTE *atr; /* Pointer to attribute, if any, to base ranking on. */
Returns
A ranking value for the load.
Install
The following function called from ucini1 installs the rule as rule 39:
sedfrk (39, myrule);
Note: Request queue sequencing rules are called to rank the
loads waiting in resource queues. The load with the lowest ranking value
is first in the list. See Section 2.3.2 for further discussion of this
rule. Function selork may be used to call standard system rules.