> On 02/01/2010 01:26 AM, John David Anglin wrote: > >>>> Actually I did tested this with the minifail test program, and changed > >>>> thread_run() to call _exit(0) at the end instead of "return 0": > >>>> void* thread_run(void* arg) { > >>>> ... > >>>> /* return (void *)&status; */ > >>>> _exit(0); > >>>> } > >>>> With strace I then suddenly got exit_group() which seems more correct: > >>>> [pid 1910] write(1, "Thread OK.\n", 11) = 11 > >>>> [pid 1910] exit_group(0) = ? > > > > Did this fix minifail? > > No, sadly it didn't fixed it. I tend to think clone/fork syscalls need to be guarded to ensure a stable configuration while the syscall executes. It may be the problem arises because we use clone for fork. Do any other targets do this? Dave -- J. David Anglin dave.anglin@xxxxxxxxxxxxxx National Research Council of Canada (613) 990-0752 (FAX: 952-6602) -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html