Re: Running an old threads app on a current system
- From: Darren Salt <news@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 31 Mar 2007 03:06:35 +0100
I demand that Kenny McCormack may or may not have written...
[snip]
Now, I'm running the app on a new system, which is, I believe, running
"Posix threads", and have noticed that you no longer have multiple
processes running. I find this surprising; I had assumed you had to
recompile it in order to make it run with Posix threads. But, it seems to
"just work".
Presumably it's already linked against libpthread.
But what I find really strange is the output of "pstree", which is like
this:
myapp(2551)---{myapp}(2563)
2551 is the pid of myapp (the only one). There is no process 2563.
So, what's up with that?
Isn't there?
$ ls /proc/2551/task
$ ps -o pid,tid,tname,stat,time,cmd m 2551
--
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| Let's keep the pound sterling
"Cybermen plus Daleks. Together we could upgrade the universe."
.
- Follow-Ups:
- Re: Running an old threads app on a current system
- From: Kenny McCormack
- Re: Running an old threads app on a current system
- References:
- Running an old threads app on a current system
- From: Kenny McCormack
- Running an old threads app on a current system
- Prev by Date: Re: udf write hangs
- Next by Date: Re: Please help, I can't understand error message, I'm trying to install atitvout
- Previous by thread: Running an old threads app on a current system
- Next by thread: Re: Running an old threads app on a current system
- Index(es):
Relevant Pages
|