Re: java and multithreading

1999-05-11 Thread Clayton Cottingham
there is also a good article on java multi threading n the java develpers journal vol3 issue 1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: java and multithreading

1999-05-11 Thread Michael Sinz
On Tue, 11 May 1999 11:40:22 -0300 (EST), Carlos Cassino wrote: > >Hi. > >I'd like to comment a few points (please, correct me if I'm wrong): > >Michael: > >> Well, you are just assuming that threads of equal priority will switch >> between each printout in your code. >> >> In fact, the Java spec

Re: java and multithreading

1999-05-11 Thread Carlos Cassino
Hi. I'd like to comment a few points (please, correct me if I'm wrong): Papi: >here is a little programm that works pretty well. Note that the > sleep part is to allow other Threads to take over the cpu for a while. > There are other ways to achieve this, but this one is, to my opinion

Re: java and multithreading

1999-05-11 Thread Georg Acher
Hi, <... prg deleted> > This did not look like multithreading. It is the same if I use native > threads and not green threads. > Has anybody an idea how to write a real multithread programm under > linux. I have to know it because we wrote a server and we want to run it > under linux and not u

Re: java and multithreading

1999-05-11 Thread Michael Sinz
On Tue, 11 May 1999 15:38:40 +0200, Nolte, Holger wrote: >Hi, I am new at this mailinglist so I am not sure if the following question >is still discussed. >I am a little bit astonished about the java multithreating under linux. For >me it looks like that the multithreading with the semantic java

Re: java and multithreading

1999-05-11 Thread papiraki
Well, here is a little programm that works pretty well. Note that the sleep part is to allow other Threads to take over the cpu for a while. There are other ways to achieve this, but this one is, to my opinion, the simplest one: import java.awt.*; public class test implements Runnable

Re: java and multithreading

1999-05-11 Thread dog
H.Nolte wrt: > I am a little bit astonished about the java multithreating under linux. For > me it looks like that the multithreading with the semantic java is much > better. > > ... > I expected following output: > > one > two > three > one > two > three > ... > > or similar. Under win95 ever