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