>>>> To allow other threads to continue execution, >>>> the main thread should terminate by calling >>>> .BR pthread_create () >>>> rather than >>>> .BR exit (3). >>> This paragraph sounds wrong. >> >> Can you say more please? Wrong in what way? > It should call pthread_exit not pthread_create. D'oh! I was not seeing the wood for the trees! Will fix that. >>> BTW, Linux behaves a little strange if you quit the main thread. For >>> example in top the task is marked '<defunct>'. If I press Ctrl+Z the >>> task go to sleep but I don't get my prompt back. >> >> Yes. Can you provide any pointers to further ino. bug reports >> regarding that problem? > That may take a while, but I remember darkly that this was on lkml sometime ago. Was this the thread? http://thread.gmane.org/gmane.linux.kernel/244552 > This Ctrl+Z-behavior is new to me. It's new to me too -- but I did verify that it occurs. I will raise a report in Bugzilla or on LKML, unless you would rather do it? Cheers, Michael -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html