pthread error, not the errno.