Re: Review request: new pthread_exit(3) page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 25, 2008 at 20:42, Michael Kerrisk
<mtk.manpages@xxxxxxxxxxxxxx> wrote:
>>>>> 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
The time could fit and the name sounds familiar but it doesn't make
click behind my eyes.

Thats what I found, time fits also but no click:

http://thread.gmane.org/gmane.linux.kernel/331196

>
>> 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?
Please go ahead an add me to the Cc:.

Bert
>
> 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

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux