Re: thread question

"Grzegorz B. Prokopski" <[email protected]> Sun, 27 Mar 2005 22:34:56 -0500
Newsgroups gmane.comp.java.vm.sablevm.devel
Organization SableVM - LGPL'ed Free Java VM http://sablevm.org
Message-ID <[email protected]>
On Sun, 2005-27-03 at 21:32 -0500, Jennifer LHOTAK wrote:
> Hi,
> 
> Is there a per-thread sturcture in sablevm? I need to compute some
> information on a per-thread basis?

The env (_svmt_JNIEnv type) content is per-thread.  It contains a
pointer to the vm (_svmt_JavaVM type), which OTOH is global.  Usually
you want to add your per-thread or global data to these structs.

HTH

				Grzegorz B. Prokopski
-- 
Grzegorz B. Prokopski           <[email protected]>
SableVM - Free, LGPL'ed Java VM  http://sablevm.org
Why SableVM ?!?                  http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS   http://www.debian.org