NT (and OS/2) does its scheduling on a thread basis and will schedule
multiple threads of the same process on multiple CPUs if available.  You'd
have to specifically mark your application to force all threads of a process
to run on a single CPU.  Both Sun's and IBM's Win32 JDKs use native threads
which distribute fine among CPUs.

George

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Steve
Buonincontri
Sent: Thursday, April 22, 1999 2:47 PM
To: [EMAIL PROTECTED]
Subject: Re: JWS multiprocessing servlets


Joe,

I think the threads still have to time share because the threads are
running inside the virtual machine. The VM is simulating a processor -
isn't it?

- steveb



    NT will support up to four processors out of the box ( more with vendor
specific custom implementations. )  Time sliced multi-processor
multithreading is automatic and is a great way to determine if your
threaded
app really works properly.  BTW, this is true of all apps on NT ( with
threads ) not just java.


                    Joe Sam

----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to