I would like to perform the operation stated above.
void myFunc() { ... // several stuff } ... int main() { ... // I would like to run myFunc in a thread so that the code below could execute // while it is being completed. ... } What do you suggest I should do? Which function call from which library would enable me to complete my goal?