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