Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #3023
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Mike Schilling" <mscottschilling@hotmail.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Threads and statics |
| Date | Sun, 10 Apr 2011 23:10:34 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 5 |
| Message-ID | <inu611$f0n$1@dont-email.me> (permalink) |
| References | <905p9gFpuoU1@mid.individual.net> <inlnjn$6c1$1@dont-email.me> <deadlocks-20110409180331@ram.dialup.fu-berlin.de> <inqa79$3j7$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="iso-8859-1"; reply-type=response |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Mon, 11 Apr 2011 06:10:41 +0000 (UTC) |
| Injection-Info | mx03.eternal-september.org; posting-host="66VJPJAWCJKXWbwaJaRQ4g"; logging-data="15383"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qH5pcKhRLxi+/qnaaDPo9KMYdvgOt1NU=" |
| X-MimeOLE | Produced By Microsoft MimeOLE V14.0.8117.416 |
| In-Reply-To | <inqa79$3j7$1@dont-email.me> |
| X-Newsreader | Microsoft Windows Live Mail 14.0.8117.416 |
| Importance | Normal |
| Cancel-Lock | sha1:0awYYg5vJePPGC/NBi4fcXXMmMA= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3023 |
Show key headers only | View raw
"Eric Sosman" <esosman@ieee-dot-org.invalid> wrote in message news:inqa79$3j7$1@dont-email.me... > On 4/9/2011 12:08 PM, Stefan Ram wrote: >> Eric Sosman<esosman@ieee-dot-org.invalid> writes: >>> manipulates). Make sure the data is always seen in a consistent >>> state, except perhaps by the *one* thread that's in the act of >>> changing it; then you'll have a correct program. >> >> It still could have potential deadlocks. [...] > > I also wrote, in the part you snipped > > >> (It might not be > >> the fastest possible program -- that's where the hard parts come > >> in -- but at least it won't have race conditions.) > > Deadlock is merely a performance problem. A really, Really, > REALLY bad performance problem. ;) There's a reason it's not call slightlyilllock.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Threads and statics Dirk Bruere at NeoPax <dirk.bruere@gmail.com> - 2011-04-07 13:34 +0100
Re: Threads and statics Patricia Shanahan <pats@acm.org> - 2011-04-07 05:41 -0700
Re: Threads and statics Robert Klemme <shortcutter@googlemail.com> - 2011-04-07 07:38 -0700
Re: Threads and statics Lew <lew@lewscanon.com> - 2011-04-07 08:20 -0700
Re: Threads and statics Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-04-07 18:47 -0300
Re: Threads and statics markspace <-@.> - 2011-04-07 09:32 -0700
Re: Threads and statics Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-04-07 21:14 -0400
Re: Threads and statics Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2011-04-09 18:15 +0200
Re: Threads and statics Lew <noone@lewscanon.com> - 2011-04-09 13:06 -0400
Re: Threads and statics Patricia Shanahan <pats@acm.org> - 2011-04-09 09:29 -0700
Re: Threads and statics Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-04-09 09:29 -0700
Re: Threads and statics Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-04-09 14:57 -0400
Re: Threads and statics "Mike Schilling" <mscottschilling@hotmail.com> - 2011-04-10 23:10 -0700
Re: Threads and statics Tom Anderson <twic@urchin.earth.li> - 2011-04-11 13:25 +0100
Re: Threads and statics Lew <noone@lewscanon.com> - 2011-04-11 08:58 -0400
csiph-web