可以从数据队列添加和移除数据项,也可以在系统上创建或删除数据队列。
Entries can be added to and removed from a data queue, and data queues can be created or deleted on the system.
多个控制线程可以同时在队列中添加数据或删除数据,所以需要用互斥锁对象管理同步。
Multiple threads of control can simultaneously try to push data to the queue or remove data, so you need a mutex object to manage the synchronization.
应用推荐