develooper Front page | perl.macosx | Postings from July 2006

Re: How to get a pid

Thread Previous | Thread Next
From:
Ted Zeng
Date:
July 31, 2006 14:35
Subject:
Re: How to get a pid
Message ID:
C0F3C594.1E223%zeng@adobe.com
I don't know how the OS generate the pid for a process. That is why I don't
feel comfortable with what I did.

I am not sure if there is a race situation here.

Ted zeng


On 7/28/06 4:21 PM, "Joel Rees" <joel_rees@sannet.ne.jp> wrote:

> 
> On 2006/07/29, at 4:12, Ted Zeng wrote:
> 
>> ...
>> 
>> I have used  pid+1 for quite a few days now and it seems to work
>> without any problem. But I still feel it is not the right thing to do.
> 
> Have you ever heard of race?


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About