This is important because if I simply pass a pointer to the args, I always have to be careful that they don't fall out of scope and get demolished before the thread has time to receive them. I much prefer the Boost.Thread method below:
- Code: Select all
void find_the_question(int the_answer);
I'm hoping that I won't have to use a far larger library just for this little functionality, so does anyone know if POCO supports it?