The text a463799eeeac, as FreeBSD 12.0-RELEASE shipped it.
set cancelability state
pthread_testcancel(3) on FreeBSD now