C++, create a pthread for a function with a return type?

后端 未结 4 1768
忘掉有多难
忘掉有多难 2021-02-06 19:26

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

4条回答
提交回复
热议问题