🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15641

Re: Object�s PID in java???

#15641
From: Steve Schafer (TeamB)
Date: Tue, 18 May 1999 00:00
14 lines
1076 bytes
On Tue, 18 May 1999 08:50:50 -0300, "Geraldo Pereira de Souza"
<souza@fotoninfo.com.br> wrote:

>Does anybody knows how can i get the PID of an object in java?
>It�s like getPid() in c.

Java applets and applications don't have individual, unique process
IDs. I suppose you could write a native method that returns the
process ID of the VM instance in which a Java application is running,
but it's not clear that that would be of any use to you.

What do you want the process ID for? There may be an alternative.

-Steve
Technical Details
Message-ID: <375080c2.68963309@90.0.0.40>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7hrjuq$big18@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,48cb736ab0442b89
X-Google-Attributes: gidf74b3,public
From: pandeng@telepath.com (Steve Schafer (TeamB))
Subject: Re: Object�s PID in java???
Date: 1999/05/18
Message-ID: <375080c2.68963309@90.0.0.40>
X-Deja-AN: 479462275
Content-Transfer-Encoding: 8bit
References: <7hrjuq$big18@forums.borland.com>
Content-Type: text/plain; charset=ISO-8859-1
Organization: TeamB
Mime-Version: 1.0
Reply-To: pandeng@telepath.com
Newsgroups: borland.public.jbuilder.java.language