Rate This Document
Findability
Accuracy
Completeness
Readability

Message Sending Interface

Prototype

int wd_send(struct wd_queue *q, void *req);

Function

Send the algorithm task message of the capa algorithm type with q to q.

Input Description

q: algorithm handle

req: task message of the algorithm type, which is irrelevant to the vendor

Output Description

None

Return Value Description

0: success

Others: failure (For details about error codes, see WD Message Error Code Interface.)

Usage Instruction

The sending operations of the same algorithm handle q do not support multi-thread mutual exclusion.

Precautions

You do not need to use this basic interface when using the algorithm layer interfaces.