Thanks a lot. I think I'll set up it in sitecustomize.py. I don't know but maybe you should consider change platform defaults.
Such a patch should be contributed by a FreeBSD expert. Different versions of FreeBSD behave differently, with too many conditions to consider. It's a mess. The simplest thing to do would be to stop supporting threading on FreeBSD.
Regards, Martin