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