The text 0d12982928a3, as FreeBSD 10.4-RELEASE shipped it.
add a cleanup function for thread exit
pthread_cleanup_push(3) on FreeBSD now