TibrvCmQueueTransport::getUnassignedMessageCount()

Function

Declaration

TibrvStatus getUnassignedMessageCount(
    tibrv_u32&          msgCount) const;

Purpose

Extract the number of unassigned task messages from a distributed queue transport.

Remarks

An unassigned task message is a message received by the scheduler, but not yet assigned to any worker in the distributed queue.

This call produces a valid count only within a scheduler process. Within a worker process, this call always produces zero.

Parameter

Description

msgCount

The program supplies a variable, and the function stores the unassigned task count in that variable.