@AlekseyB said in How to for QThread and QThreadPool objects wait for thread creation?:
I use wait- methods, but they're use my processor to 100%. Why?
You never answered what's this waitForDone and how it is implemented. Also note that calling some function waitFor***, won't make it blocking. As I mentioned in your other thread, you can use a semaphore for waiting:
// # thread 1
semaphore.acquire(); //< We block here until someone calls release(), or we continue on if someone already did
// # thread 2
semaphore.release(); //< Free the waiting thread if it's blocked
My post devote by this question was unduly closed (may be bad question ban on this forum).
Unduly? I don't think so. We don't discriminate in this forum, the question may be bad, may be good, it's still a question. However we do try to keep the place tidy, which excludes posting of multiples of the same question.
I see that is the other question, but I have no choice and ask here.
Which is exactly why I closed your other thread, as the issues you describe as two different problems are rather one.