mardi 20 mars 2018

Howto run async boost function in c++?

Does anyone know how I can run an async function using boost, suppose I want to run the foo and bar function asynchronously?

Demo code

void foo(){ }
void bar(){ }

int main(){ return 0;}

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire