Running an old threads app on a current system
- From: gazelle@xxxxxxxxxxxxxxxxxxxxx (Kenny McCormack)
- Date: Sat, 31 Mar 2007 01:45:40 +0000 (UTC)
I have an app (that I wrote) that uses threads. It was compiled with
"Linux threads" - such that when run on the original system, you ended
up with 3 processes showing up in "ps".
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". 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?
.
- Follow-Ups:
- Re: Running an old threads app on a current system
- From: Darren Salt
- Re: Running an old threads app on a current system
- Prev by Date: my /var/log/secure
- Next by Date: Re: udf write hangs
- Previous by thread: my /var/log/secure
- Next by thread: Re: Running an old threads app on a current system
- Index(es):