Thread difficulties

Joerg Brunsmann joerg.brunsmann@FernUni-Hagen.de
Sat Apr 1 00:00:00 GMT 2000


Evan Turnbull wrote:

> the second thread and then I hang. I'm using wait/notify to coordinate
> the threads. I've noticed a few other problems in the mailing lists
> associated with the use of wait/notify. Does anyone have any advice?
> Should I be avoiding wait/notify?

If you use Solaris 7, yes. Solaris 7 does have a bug. Linux should be ok.

> I have built libgcj with posix threads and am using the -lposix compile
> option. Is there anything else I need to do to successfully use threads?

Not that I'm aware of.

Jörg


More information about the Java mailing list