The text a250b4ed829a, as FreeBSD 12.3-RELEASE shipped it.
terminate the calling thread
pthread_exit(3) on FreeBSD now