We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
函数中有一处代码是这样写的: ret=pthread_tryjoin_np(ex_module->proc_thread,&thread_return); ex_module->retval=*thread_return; *retval=*thread_return; 这里pthread_tryjoin_np是不阻塞的,所以返回时thread_return可能没有赋值,应该改成下面这种: ret=pthread_tryjoin_np(ex_module->proc_thread,&thread_return); if(ret == 0){ ex_module->retval=*thread_return; *retval=*thread_return; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
函数中有一处代码是这样写的:
ret=pthread_tryjoin_np(ex_module->proc_thread,&thread_return);
ex_module->retval=*thread_return;
*retval=*thread_return;
这里pthread_tryjoin_np是不阻塞的,所以返回时thread_return可能没有赋值,应该改成下面这种:
ret=pthread_tryjoin_np(ex_module->proc_thread,&thread_return);
if(ret == 0){
ex_module->retval=*thread_return;
*retval=*thread_return;
}
The text was updated successfully, but these errors were encountered: