I currently have something like this
This is a member of my class
boost::shared_ptr<boost::thread_group> my_group;
Somewhere else in my code I do this
my_group->create_thread( boost::bind( &Myclass::method, this ) );
Now in the above statement is there a way for me to block/wait till this thread has started ? such as
wait for above thread to lauch and start
Do next stuff after that.