Pike v8.1 release 6

Class ADT.Scheduler()->Consumer

Inheritance graph
Description

A resource consumer.

Active consumers are kept in a (min-)Heap.


Inherit Element

inherit Element : Element


Variable pri

float ADT.Scheduler.Consumer.pri

Description

Accumulated deltas and initial priority.

Typically in the range 0.0 .. 2.0, but may temporarily be outside of the range.


Variable weight

void ADT.Scheduler.Consumer.weight

Description

Getting

Get the weight of the consumer.

Setting

Get the weight of the consumer.


Method create

ADT.Scheduler.Consumer ADT.Scheduler.Consumer(int|float weight, mixed v)