我目前正在C++中的一个项目中工作,在这个项目中,我有一个存储在向量中的结构列表,该向量具有大量与它们相关的处理。为了加快速度,我选择将程序拆分为多个线程,而我选择的懒散方式是在标准库向量中为每个结构添加一个互斥体。/include/c++/9.1.0/mutex:38:
In file included from /usr/sup/bin/../include/c++&
newNode(4); return 0;我收到以下四种警告:BFS2.c:60:13: warning: passing argument 2 of ‘enQueue’ makes pointer from integerwithout a cast [enabled by default]
enQueue(queue,rear,