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