Rate This Document
Findability
Accuracy
Completeness
Readability

Interface for Obtaining the NUMA ID of a Queue

Prototype

int wd_get_node_id(struct wd_queue *q);

Function

Obtain the NUMA ID of a queue.

Input Description

q: specified WD queue

Output Description

N/A

Return Value Description

0 or a larger value: NUMA ID

A negative value: invalid NUMA ID

Usage Instruction

Multiple threads and processes are supported.

Precautions