Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #7804
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Java thread |
| Date | 2011-09-11 08:32 -0700 |
| Organization | Canadian Mind Products |
| Message-ID | <cvkp675fsg7eo5aoplvbtf8cc8r1lo2cub@4ax.com> (permalink) |
| References | <128ea2e0-7a2e-4c86-9507-8e15a0b892b9@p25g2000pri.googlegroups.com> |
On Sat, 10 Sep 2011 21:03:24 -0700 (PDT), Jack <junw2000@gmail.com> wrote, quoted or indirectly quoted someone who said : >For Java thread, how to ensure that wait() does not miss notify()? >Otherwise the thread will hang and can not shut down. Ordinary programmers almost never use wait/notify directly, unless they were experimenting to understand them. Instead, you rely on code written my Doug Lea and other experts. It is so easy for mortals to write code that works only most of the time. See http://mindprod.com/jgloss/timer.html http://mindprod.com/jgloss/concurrent.html http://mindprod.com/jgloss/thread.html -- Roedy Green Canadian Mind Products http://mindprod.com The modern conservative is engaged in one of man's oldest exercises in moral philosophy; that is, the search for a superior moral justification for selfishness. ~ John Kenneth Galbraith (born: 1908-10-15 died: 2006-04-29 at age: 97)
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar
Java thread Jack <junw2000@gmail.com> - 2011-09-10 21:03 -0700
Re: Java thread markspace <-@.> - 2011-09-10 21:34 -0700
Re: Java thread Patricia Shanahan <pats@acm.org> - 2011-09-10 22:42 -0700
Re: Java thread Jack <junw2000@gmail.com> - 2011-09-10 22:48 -0700
Re: Java thread Owen Jacobson <angrybaldguy@gmail.com> - 2011-09-11 03:07 -0400
Re: Java thread Lew <lewbloch@gmail.com> - 2011-09-11 09:37 -0700
Re: Java thread Arne Vajhøj <arne@vajhoej.dk> - 2011-09-11 16:56 -0400
Re: Java thread Arne Vajhøj <arne@vajhoej.dk> - 2011-09-11 09:34 -0400
Re: Java thread Roedy Green <see_website@mindprod.com.invalid> - 2011-09-11 08:32 -0700
csiph-web