Article View: borland.public.jbuilder.java.language
Article #15711Re: Let sleeping threads lie?
From: Tad Frysinger
Date: Fri, 30 Apr 1999 00:00
Date: Fri, 30 Apr 1999 00:00
10 lines
968 bytes
968 bytes
In article <7g65lk$ksf4@forums.borland.com>, mlong@ecst.csuchico.edu says... > Just an addendum to what Chris said on this subject. It is not really > advisable to us notify(), it can lead to deadlocks if no thread is ready to > activate. notifyAll() notify's all threads that the action has completed. > For what it's worth. > I'm interested in this - how can this lead to deadlocks? Tad Frysinger (TeamB)
Technical Details
Message-ID:
<MPG.1193bc718db4ad7b9899d4@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37261640.457FA257@sciatl.com> <37262022.3697507684@forums.borland.com> <37262668.3C79A815@sciatl.com> <7g65lk$ksf4@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,efa12c4b85d88a4c X-Google-Attributes: gidf74b3,public From: tfrysinger@earthlink.net (Tad Frysinger) Subject: Re: Let sleeping threads lie? Date: 1999/04/30 Message-ID: <MPG.1193bc718db4ad7b9899d4@forums.borland.com> X-Deja-AN: 472871100 References: <37261640.457FA257@sciatl.com> <37262022.3697507684@forums.borland.com> <37262668.3C79A815@sciatl.com> <7g65lk$ksf4@forums.borland.com> Organization: Freezone Enterprises Newsgroups: borland.public.jbuilder.java.language