The text 8b5d21e9be72, as FreeBSD 9.0-RELEASE shipped it.
add a cleanup function for thread exit
pthread_cleanup_push(3) on FreeBSD now