Mailinglist Archive: opensuse-programming (84 mails)
| < Previous | Next > |
Re: [suse-programming-e] pthreads
- From: Stefan Hundhammer <sh@xxxxxxx>
- Date: Tue, 31 Aug 2004 11:24:45 +0200
- Message-id: <200408311124.45608.sh@xxxxxxx>
On Monday 30 August 2004 21:27, Brad Bourn wrote:
> Can someone from SuSE verify that on 2.4 kernels, separate pthreads of the
> same process will show up with ps having separate PID's?
Yes.
That's also the only way to tell the threads apart so you can send signals
etc.; to the outside, pthreads look the same as just another process.
> Isn't that against the standard?
I am not sure. But then, that might have been one more reason to migrate to
POSIX threads with kernel 2.6.
You might want to read up at http://www.kernel.org/ for more details.
CU
--
Stefan Hundhammer <sh@xxxxxxx> Penguin by conviction.
YaST2 Development
SuSE Linux AG
Nuernberg, Germany
> Can someone from SuSE verify that on 2.4 kernels, separate pthreads of the
> same process will show up with ps having separate PID's?
Yes.
That's also the only way to tell the threads apart so you can send signals
etc.; to the outside, pthreads look the same as just another process.
> Isn't that against the standard?
I am not sure. But then, that might have been one more reason to migrate to
POSIX threads with kernel 2.6.
You might want to read up at http://www.kernel.org/ for more details.
CU
--
Stefan Hundhammer <sh@xxxxxxx> Penguin by conviction.
YaST2 Development
SuSE Linux AG
Nuernberg, Germany
| < Previous | Next > |