子线程: 槽函数:void close() { end = 1; } while(0 == end) { // do something }
在主线程中发送信号触发close(),但是close()没有执行,导致while循环不能退出,这种怎么解决