create test works but now pthread_create gives EPERM error.