From: "Alexander V. Konstantinou" <[EMAIL PROTECTED]> > The main difference has > to do with threads of the SAME priority level. In Windows, Java performs > time-slicing, that is, threads of the same priority share the CPU by > taking turns. In Linux, that is not the case. A thread that does not > relinquish control by blocking (e.g. an endless while loop),
This is correct only for Green Threads, which is a user-space threading library for the Classic VM. Few people use Green Threads in the recent days. Additionally, even old java commands using Green Threads provided -tss option. When the option is given, threads are scheduled in a time-slicing fashion. I guess even user-space threads can implement time-slicing with kinds of signal and alarm(2). But, I'm not sure the -tss option could work well ever on Linux. Kazuyuki Shudo [EMAIL PROTECTED] http://www.shudo.net/ ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]