carta

pthread_cleanup_push(3) on FreeBSD

The text 07f237c20747, as FreeBSD 7.1-RELEASE shipped it.

add a cleanup function for thread exit

pthread_cleanup_push(3) on FreeBSD now