When creating new thread, the TLS entries are copied from the parent thread, but zero out errno so it defaults to 0.