carta

pthread_cleanup_push(3) on FreeBSD

The text 9fb31085d5ff, as FreeBSD 9.2-RELEASE shipped it.

add a cleanup function for thread exit

pthread_cleanup_push(3) on FreeBSD now