Using vc + + programming, there is a function is WaitForMultipleObjects (... ) more than to wait for a semaphore, don't know whether QT have similar waiting for multiple QSemaphore semaphore function?
Without this wait for multiple semaphore function, then thread if waiting for is a network of others to send to come over, then it is likely that they will wait forever, cannot exit program in want to quit?