Report error when trying to create thread when there is no thread system