libgcj: Thread.sleep() on Linux

Bryce McKinlay bryce@albatross.co.nz
Tue Apr 20 17:22:00 GMT 1999


Tom Tromey wrote:
> >>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
>> Bryce> Thread.sleep() doesn't seem to do anything on Linux/glibc
> Bryce> 2.0.7. The following code will print one dot per second when
> Bryce> run in java, but will run through instantly using gcj:
>> How did you configure gcj and libgcj?
> In particular, what thread system are you using?

Posix threads. Just to be sure, I grabbed the latest egcs and libgcj out
of cvs today and rebuilt them.
egcs/gcj was configured with:
../configure --prefix=/usr/local/egcs --enable-threads=posix
--enable-java-gc=boehm --enable-shared --enable-languages=c++,java
--enable-cpp
libgcj was configured with:
../configure --enable-threads=posix --enable-java-gc=boehm
--prefix=/usr/local/egcs
regards
 [ bryce ]


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /