When creating a thread, don't add it to the process's thread list until it's fully built, so that it can't get a signal from realitexpire(), as seen by sthen@ and espie@ in ports builds.
When creating a thread, don't add it to the process's thread list
until it's fully built, so that it can't get a signal from
realitexpire(), as seen by sthen@ and espie@ in ports builds.

Exact bits moved down worked out with tedu@, ok deraadt@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars