Say I have the following function:
bool foo (int a); // This method declaration can not be changed.
How do I create a pthread for this? And how
An easy work around is to use void* foo(int a, bool &b).