carta

pthread_cleanup_push(3) on FreeBSD

The text 85799f68b584, as FreeBSD 4.3-RELEASE shipped it.

add a cleanup function for thread exit

pthread_cleanup_push(3) on FreeBSD now