[4258] in java-interest
Multiprocessor implementations of multithreading
daemon@ATHENA.MIT.EDU (Kelvin Nilsen)
Thu Dec 14 15:08:34 1995
Date: Thu, 14 Dec 1995 10:11:45 -0600 (CST)
From: Kelvin Nilsen <kelvin@kickapoo.catd.iastate.edu>
To: java-interest@java.sun.com
The API for Thread includes:
public static Thread currentThread();
This method returns a handle to the "currently executing thread." Note that
there exist implementations of Java (potentially) that will have multiple
threads executing currently. I assume currentThread() always represents
the thread that invoked the currentThread() method. Is this a fair assumption?
Is there any way to find out what other threads might be running at the same
time?
Finally, is there any way to determine how many independent processors are
available for execution of Java threads? This information would be important
to any application that attempts to budget its computational resources in
order to adjust its service quality.
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com