I am compiling an project here is link of project on github
Here is c source code containing pthread_cancel
in line 620 and 690 Click here for Source Code
But I am compiling this tool in my android phone and this project containing pthread_cancel
function but as we know pthread_cancel
is not available in Android libc but pthread_kill
is. So my question is that should I use pthread_kill
over pthread_canel
.
It will be right patch for this project ? Also I want to know all possible problems which can be arised by use of pthread_kill instead of pthread_cancel
And if non of them should be used so then what should I use or do to compile this project on android.