I don't work on Window at first. I tried the methods described here: to no avail.
Basically, I am creating a web browser that should suspend the main thread right before it outputs the results. The main thread should resume when my last pthread dies. I know that when my last pthread dies, I just don't know how to pause or resume the main thread.
Any help is much appreciated!
EDIT:
So, maybe only one workflow will exist at the point where I want to pause / resume main. I do this in the constructor, and threads appear when I collect more links.
user114518
source share