Pike programming language

Top ADT ADT.Scheduler
➤ ADT.Scheduler()->ConsumerState ADT.Scheduler()->adjust_weight() ➤

Method ADT.Scheduler()->add()


Method add

Consumer(< ValueType >) add(Consumer(< ValueType >) c)

Description

(Re-)activate a Consumer.


Method add

variant Consumer(< ValueType >) add(int|float weight, ValueType val)

Description

Create a Consumer with the weight weight for the value val, and add it to the Scheduler.

Extracted from as of .