// test for a pthread handle leak #include #include #include #include #include #include #include static void *mythreadfunc(void *arg) { return arg; } int test_main(int argc, char *const argv[]) { #define N 1000000 int i; for (i=0; i