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
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
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
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
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
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
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
>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
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
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
>
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
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.
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
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
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
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,
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
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
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
--
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
20 matches
Mail list logo