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