Simplified threadCreateHelper().