嗨,我得到以下警告请帮助我.
从不兼容的指针类型传递'pthread_create'的参数3
我的代码是:
int function(int *);
int main()
{
pthread_t thread_a;
pthread_create(&thread_a,NULL, function,&connected);
int function(int *fnd)
{
int bytes_recieved;;
}
Run Code Online (Sandbox Code Playgroud)