我要评分
获取效率
正确性
完整性
易理解

Applying for a Queue

Prepare the memory for the struct wd_queue queue, which can be set using a local variable. Pay attention to the restrictions on the local variable and memory clearing.

1
2
3
4
struct wd_queue q;
memset(&q, 0, sizeof(q));
q.capa.alg = "cipher";
wd_request_queue(&q);