Re: linux

2003-02-06 Thread Hui Huang
Joseph Shraibman wrote: Thread.yield() is used under two different scenarios: + waiting for certain condition to become true (or false), most likely this is used in a yield loop, and current thread has nothing to do but burning CPU cycles in a while loop. + be nice and let kernel/pthr

Re: linux

2003-02-06 Thread Alexander V. Konstantinou
I'm attaching the ThreadTest file which I forgot to include in my benchmark message. Alexander public class ThreadTest extends Thread { public static final long MAX_COUNT = 10; public final char id; public long counter = 0; public ThreadTest peer = null; public boolean isYield

How to Make JVM work faster

2003-02-06 Thread Katdare, Shishir
Hi All We are in a process of making a routing selector , am just curious what advantage the JAVA can have over C++ ( apart from multiplatform) in processing the request faster...??? Is there any article that i can read to understand how to make the process fast or how we can tweak around with J

Re: linux

2003-02-06 Thread Joseph Shraibman
Hui Huang wrote: Joseph Shraibman wrote: Hui Huang wrote: Joseph Shraibman wrote: Alexander V. Konstantinou wrote: Actually, thread priorities work fine in Linux. No, they don't, not with the latest sun jdk on redhat 8.0. Thread priority is just a hint (same applies to Thread.yiel

Re: linux

2003-02-06 Thread Weiqi Gao
On Thu, 2003-02-06 at 20:18, Nelson Minar wrote: > >Alexander V. Konstantinou wrote: > >> Actually, thread priorities work fine in Linux. > >No, they don't, not with the latest sun jdk on redhat 8.0. > > Is it green threads or native threads that don't work? > > btw, the JVM spec on what thread p

Re: linux

2003-02-06 Thread Hui Huang
Joseph Shraibman wrote: Hui Huang wrote: Joseph Shraibman wrote: Alexander V. Konstantinou wrote: Actually, thread priorities work fine in Linux. No, they don't, not with the latest sun jdk on redhat 8.0. Thread priority is just a hint (same applies to Thread.yield()). While the j

Re: linux

2003-02-06 Thread Joseph Shraibman
Hui Huang wrote: Joseph Shraibman wrote: Alexander V. Konstantinou wrote: Actually, thread priorities work fine in Linux. No, they don't, not with the latest sun jdk on redhat 8.0. Thread priority is just a hint (same applies to Thread.yield()). While the jvm authors can't do anything

Re: linux

2003-02-06 Thread Nelson Minar
>Alexander V. Konstantinou wrote: >> Actually, thread priorities work fine in Linux. >No, they don't, not with the latest sun jdk on redhat 8.0. Is it green threads or native threads that don't work? btw, the JVM spec on what thread priorities mean is very very loose. If I remember correctly, a J

Re: linux

2003-02-06 Thread Hui Huang
Joseph Shraibman wrote: Alexander V. Konstantinou wrote: Actually, thread priorities work fine in Linux. No, they don't, not with the latest sun jdk on redhat 8.0. Thread priority is just a hint (same applies to Thread.yield()). It's up to the underlying system (in this case, the Linux ker

Re: linux

2003-02-06 Thread shudo
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 >

Re: linux

2003-02-06 Thread Joseph Shraibman
Alexander V. Konstantinou wrote: Actually, thread priorities work fine in Linux. No, they don't, not with the latest sun jdk on redhat 8.0. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble

JMStudio can't transmit

2003-02-06 Thread Ching Yeow
hi, i have a problem where each JMStudio on two separate computers linked through a LAN can't communicate. tcpdump shows nothing when i start transmitting audio. i got lots of failed transmission in Transmit statistics. Why does this happen since all my LAN setting are right? Even "ping" works.

Re: linux

2003-02-06 Thread Nathan Meyers
On Thu, Feb 06, 2003 at 06:11:03PM -0500, Joseph Shraibman wrote: > Masnizar jamian wrote: > > > >I'm new to linux , so are there any difference between windows platform > >and linux in terms of coding (mainly in multithread)? Because I heard > >that a linux thread is different from windows threa

Re: linux

2003-02-06 Thread Alexander V. Konstantinou
Actually, thread priorities work fine in Linux. 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 contr

Re: linux

2003-02-06 Thread Joseph Shraibman
Masnizar jamian wrote: I'm new to linux , so are there any difference between windows platform and linux in terms of coding (mainly in multithread)? Because I heard that a linux thread is different from windows thread. Could you recommend me any reading material that clear some cobweb in my br

Re: linux

2003-02-06 Thread Michael Sinz
Glenn Holmer wrote: Masnizar jamian wrote: I'm new to linux , so are there any difference between windows platform and linux in terms of coding (mainly in multithread)? The only difference I know of (after coding for both platforms for about five years) is that if you are using popup menus,

Re: Green vs Native Threads

2003-02-06 Thread Tom Ball
On Thu, 2003-02-06 at 04:41, Henrique wrote: > Folks, what's the diference between Native and Green Threads for the > performance of a software and for System Operation? Green Threads is linked into the JDK to simulate a threading environment; it manages all thread creation, scheduling, commun

Re: linux

2003-02-06 Thread Glenn Holmer
Masnizar jamian wrote: I'm new to linux , so are there any difference between windows platform and linux in terms of coding (mainly in multithread)? The only difference I know of (after coding for both platforms for about five years) is that if you are using popup menus, the trigger is a mouse

Green vs Native Threads

2003-02-06 Thread Henrique
Folks, what's the diference between Native and Green Threads for the performance of a software and for System Operation? The new Linux Kernel 2.4.20 manage all threads as Native, but using the concept of Green? Regards, Henrique --

Re: linux

2003-02-06 Thread Michael Sinz
Masnizar jamian wrote: I'm new to linux , so are there any difference between windows platform and linux in terms of coding (mainly in multithread)? Because I heard that a linux thread is different from windows thread. Could you recommend me any reading material that clear some cobweb in my br