The text 88e5fcf166b2, as FreeBSD 8.2-RELEASE shipped it.
wait for thread termination
pthread_join(3) on FreeBSD now