Re: Threads

2000-01-29 Thread Nathan Meyers
[EMAIL PROTECTED] wrote: > > Hello, > I'm using JDK1.2.2 and Suze6.2. > Can someone tell me how I can use the option "green threads" of VM instead > "native threads"? You can either specify it with the command that runs the JVM: java -green ... or set it in the environment: export THREADS

Re: Threads

2000-01-20 Thread Michael Maloney
For a good explanation of how threads are implemented within Java on Linux see: http://www-4.ibm.com/software/developer/library/java2/index.html It explains green vs. native threads. It also touches on why you might want to use native threads with JNI. 'pthreads' is the Posix standard interface

Re: Threads

2000-01-20 Thread Jacob Nikom
Hi, Sorry for the book referring instead of direct answer - those are too generic questions to answer in a message. The best thing to understand this stuff better is to read Nathan Meyers book "Java Programming on Linux" (www.javalinux.net). You also can find some answer searching through the

Re: Threads & interrupt

1999-11-14 Thread Daniel Dulitz
Ron writes: > I've got a problem when using the Thread.interrupt() method. It doesn't > seem to be working. > [...] > However if I call a interrupt on Thread2 > then it returns a socket error, so it is affecting Thread2 in some way. > > I guess interrupt just sets a flag, so how come it is not g

Re: Threads

1998-10-23 Thread SHUDOH Kazuyuki
> When using Java Threads, are these mapped to system level threads like = > NT does or are they user level threads as in Sun OS. We can obtain both each version of JDK 1.1.6 for Linux, utilizes user level threads and kernel level one. The version which utilizes user level threads is ported by

Re: Threads

1998-10-22 Thread vipin agrawal
Linux does not have real (native) threads like NT. vipin   Paul Carff wrote:  When using Java Threads,  are these mapped to system level threads like NT does or are they user level threads as in Sun OS. I am trying to determine if I must write a thread scheduler for my code. Thanks , Paul      

Re: Threads / CLASSPATH?

1998-10-14 Thread Dan Kegel
Michael Sinz wrote: > Hmmm... This tends to happen when the Java classes.zip file is not found > by the JVM. > ... > I personally think that no user should every point at classes.zip and > that the system should automatically make sure it is at the end of > the classpath so that things work. M

Re: Threads / CLASSPATH?

1998-10-14 Thread Ernst de Haan
Danny Ayers wrote: > Hi, > Thanks for all the suggestions relating to CLASSPATH - I though this > would be a fairly quiet list (Java&Linux = FairlyObscure^2, mail->0), > not so! :-) *grin* && *bigsmile* > I've still got a problem though. When trying to run java mpEDIT (nice > basic java text

Re: Threads / CLASSPATH?

1998-10-14 Thread Michael Sinz
On Wed, 14 Oct 1998 13:29:45 +0100, Danny Ayers wrote: >Hi, >Thanks for all the suggestions relating to CLASSPATH - I though this >would be a fairly quiet list (Java&Linux = FairlyObscure^2, mail->0), >not so! > >I've still got a problem though. When trying to run java mpEDIT (nice >basic java te

Re: threads doesn't work???

1998-10-09 Thread Steve Byrne
Martin Sorgatz writes: > Martin Schmitz wrote: > > > please look at this small example!! > > what example? > > > it creates a thread, but the output is done after the main thread did > > his work!!! > > on windows it works fine! > > > > i've another software where i create a thread w

Re: threads doesn't work???

1998-10-09 Thread Martin Sorgatz
Martin Schmitz wrote: > please look at this small example!! what example? > it creates a thread, but the output is done after the main thread did > his work!!! > on windows it works fine! > > i've another software where i create a thread which is running endless, > but it blocks the GUI. > > so