Function pthread_testcancel

fn pthread_testcancel()

See the module comment.