This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
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 ]