Re: Thread priorities don't work with native threads

2000-05-01 Thread Nathan Meyers
On Sat, Jun 07, 2036 at 07:48:37PM -0700, Joseph Shraibman wrote: > Run the following with green threads and you get only H's. Run it with native > threads and you get H's mixed with L's The native threading mechanism on Linux doesn't offer many thread priority choices (run "man pthread_attr_ini

Re: Thread priorities don't work with native threads

2000-05-01 Thread John R MacMillan
I think you could rephrase that as "In Java, Thread priorities don't work". :-) The language guarantees about thread priorities are probably weaker than you expect. Quoth the language spec: "Every thread has a priority. When there is competition for processing resources, threads with higher prior

Re: [Re: Thread priorities dont work with native threads]

2000-05-01 Thread Joseph Shraibman
Juergen Kreileder <[EMAIL PROTECTED]> wrote: Jurergen> Don't use thread priorities for synchronization! I'm not. I have an rmi server that needs to do a lot of work. I want to spin off some time insensitve tasks into their own low priority thread so that rmi calls that need fast responses won'

how to set proxy via the command line

2000-05-01 Thread john
i sent an earlier post as to how to set the proxy server via the command line. well i just found in the java.sun site and the command line parameters that need to set on a unix box are as follows java -Dhttp.proxyHost=proxyhost [-Dhttp.proxyPort=portNumber] URLReader question is

Re: Thread priorities don't work with native threads

2000-05-01 Thread Juergen Kreileder
This is perfectly legal with respect to the JLS. LinuxThreads only allows thread priorities for the scheduling policies SCHED_RR, SCHED_FIFO, both policies would require superuser privileges and are not what you really want to have for Java threads. Joseph> Run the following with green thre

Re: Thread priorities don't work with native threads

2000-05-01 Thread Nelson Minar
Thread priorities don't work in any JVM I've used. Java's rules are fairly senseless, too. I'm not sure your case qualifies as a bug, though: > public void run(){ > //Thread.yield(); > while(true){ > System.out.print(name); > System.out.flush

Re: Source Code of Web Browser for Linux

2000-05-01 Thread Chris Kelly
Have you looked at, say, javaworld's tool guide or freshmeat.net or IBM's jCentral? Some that come to mind are mozilla, javazilla (or whatever it's called, I'm sure there's a link at www.mozilla.org), sun's hot java (don't know if source is available), lynx (ditto), www.icesoft.no... At 02:19 PM

accessing a web page via a proxy ?(how to)

2000-05-01 Thread john
i have a small java program that goes and accesses a web page. (used the URL class) the java program works fine, but how do i force it to use a proxy server. I mean when i run the java program via the command line it goes and fetches the http web page as mentioned in the arguments java test http

Thread priorities don't work with native threads

2000-05-01 Thread Joseph Shraibman
Run the following with green threads and you get only H's. Run it with native threads and you get H's mixed with L's /** * threadtest.java * * * Created: Mon May 1 15:35:45 2000 * * @author Joseph Shraibman * @version 1.0 */ public class threadtest { public threadtest() {}

Source Code of Web Browser for Linux

2000-05-01 Thread Lee_Xing
Hi: Is there any source code of a Web browser for Linux available somewhere? It's even better if it's pure Java source code, so we can use it on different platform to get a consistent interface? Thanks. Lee -- To UNSUBSCRIBE

IBM-jdbc driver ...

2000-05-01 Thread dloneanu
Does anyone know whether IBM jdbc driver's is supported on jdk1.2? Thanks. Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]