This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Thread difficulties
- To: Evan Turnbull <evanturn at nortelnetworks dot com>
- Subject: Re: Thread difficulties
- From: Joerg Brunsmann <joerg dot brunsmann at FernUni-Hagen dot de>
- Date: Thu, 13 Jan 2000 10:08:33 +0100
- CC: java-discuss at sourceware dot cygnus dot com, Andrew Zahra <andzahra at nortelnetworks dot com>
- Organization: Fernuniversitaet Hagen - Software Engineering (Praktische Informatik III)
- References: <387D6B0F.FB26602C@asiapacificm01.nt.com>
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