The example ends by closing the queue handle and disconnecting from the queue manager.
示例最后关闭队列句柄并从队列管理器断开,从而结束。
As in the previous listing, be sure to clean up on completion by closing the queue handle and disconnecting from the queue manager.
和前面的清单中一样,请确保在完成时进行清理工作,即关闭队列句柄并从队列管理器断开。
Closing a thread handle does not terminate the associated thread. To remove a thread object, you must terminate the thread, then close all handles to the thread.
关闭一个线程句柄不回结束关联的线程。要移除一个线程对象,你必须结束线程,然后关闭所有的线程句柄。
应用推荐