Re: Multi-Threading: Preemptive?

1999-02-24 Thread Chris Raser
On Wed, 24 Feb 1999, Moses DeJong wrote: > I do not mean to rip on your code or anything, but if you require a Not at all. I'm pretty new (the last 3-4 years) to programming, and most of that has been in persuit of a CS degree, so I haven't had much of a chance to do any real coding. :(

Re: Multi-Threading: Preemptive?

1999-02-24 Thread Chris Raser
On Wed, 24 Feb 1999, David Craig wrote: > Java doesn't define how threads of the same priority share cpu time In > some VM implementations the sharing is fair. On others, such as the port > you're probably using, one thread preempts the other indefinitely. > > Congrats on an elegant workaround.

Multi-Threading: Preemptive?

1999-02-24 Thread Chris Raser
Greetings all! I've got a little problem with the handling of threads on my machine. (I'm using RH5.1 w/ your jdk117) I'm finding that, given two threads of the same priority, the one that's currently getting CPU time will starve the other one until an explicit yield() or slee