This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Thread difficulties


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]