---
title: acltdtDestroyQueue
description: 销毁通过acltdtCreateQueue接口创建的队列。同步接口。
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgc/aclcppdevg_03_1629.html"
---

# acltdtDestroyQueue

#### 函数功能

销毁通过acltdtCreateQueue接口创建的队列。同步接口。


#### 函数原型

aclError acltdtDestroyQueue(uint32_t qid)


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| qid | 输入 | 指定需销毁的队列。 |


#### 返回值说明

返回0表示成功，返回其它值表示失败。
