Added OpenBSD 3.9 getthrid().
Added OpenBSD 3.9 getthrid().

Prodded by David Carlier.

nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit