like i want main to just idle until it gets a go ahead from somewhere else, in my case a while loop with a bool statement, i could use a thread wait thing elsewhere but not in main.
What type of go ahead? Poll driven (IE using a Game Loop where it will keep processing stuff even if there is no input), or a event driven system (IE Business software where it waits for a event/input till it responds).
It really all depends on what you are doing and there are different ways of doing it.