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