Mailing List archive

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

[vdr] Re: Threading issues on RH9



Klaus Schmidinger wrote:
Does this mean that when you do 'ps axf' you get
This just shows the first process. There is a new 'ps -m' which shows all the threads with different PIDs. However getpid() just always returns the same number for all threads.

Similarly the "H" key in top will display all threads.

The Posix threading specification says that getpid must return the same value for all threads and this is why the change was made. I don't know why the spec says what it does.

Jon



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index