Hi Ezra,
Short answer:
Java on Linux does support "timeslicing".
Long answer:
Java knows two threading models: Green threads and native threads.
Green threads are implemented by the virtual machine (vm) and native 
threading uses the operating system's threading implementation.
Green threads are implemented as cooperative threads which means, if you 
don't cooperate you can starve the other threads.
Native threads depend on the OS and as Linux threasds get sceduled by 
the kernel like processes, java's "native threads" on linux do 
"timeslicing".
The java 1.3 implementation defaults to using native threads. If you use 
an older jdk please read the README and look for "threads" to find out, 
how to select the threading model.

Uli

Ezra Taylor wrote:

> 
> Hello everyone:
>                          My question is quick and simple, does Linux 
> incorporate timeslicing.  If not, please direct me to a site that show 
> code to that shows an alternative to performing  Multithreading  in a 
> Linux environment.
> Thank You
> Ezra
> 
> 
> Shop online without a credit card
> http://www.rocketcash.com
> RocketCash, a NetZero subsidiary
> 
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to