1 // commit: 59666802fba592a59f2f4ea4dcb053287fd55826 2011-02-15
2 // pthread_create should return EAGAIN on failure
8 static void *start(void *arg)
18 r = t_vmfill(0, 0, 0);
20 t_error("fatal: vmfill has failed\n");
23 r = pthread_create(&td, 0, start, &arg);
25 t_error("pthread_create succeeded\n");
27 t_error("pthread_create should fail with EAGAIN but failed with %d (%s)\n", r, strerror(r));