O'Reilly logo
  • Rakesh Nair thinks this is interesting:

*statusp == PTHREAD_CANCELED

From

Cover of PThreads Programming

Note

I have to use if ( statusp == PTHREAD_CANCELED ) , instead of *statusp in my system.
System Ubuntu18.04