Dequeue

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

x

Function Description

Sets balanced distribution affinity.

Prototype

1
virtual int32_t Dequeue(std::shared_ptr<FlowMsg> &flowMsg, int32_t timeout = -1) = 0

Command-Line Options

Parameter

Input/Output

Description

flowMsg

Output

Dequeued FlowMsg.

timeout

Input

Dequeue timeout, in ms. The default value is -1, indicating that the current thread is blocked until an element can be obtained from the queue.

Returns

Troubleshooting

None

Constraints

None