Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #11176
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Lew <noone@lewscanon.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Atomic integer array class question |
| Date | Tue, 10 Jan 2012 07:17:18 -0800 |
| Organization | albasani.net |
| Lines | 14 |
| Message-ID | <jehkpr$4to$2@news.albasani.net> (permalink) |
| References | <9d7d89a6-3109-412f-a898-e2c9e82b780b@cs7g2000vbb.googlegroups.com> <jef22t$oc9$1@dont-email.me> <803273c0-b874-4d53-a9f7-70cbefac5ddd@k5g2000vba.googlegroups.com> <L4SdnYBDN4fhpZbSnZ2dnUVZ_gudnZ2d@earthlink.com> <be6dd390-0441-4336-a3f8-fe70964b9210@n39g2000yqh.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.albasani.net Kkupcj5ikT35USBOaygl/eHMDTfoCPyDAbPr6TZpml9fjV5UvQWIj90PqeSSJ6KOc60tlcsc7wdI8I/3dArOhCxQ+pfyCk9QeAC3AJUjaEghK/i288PaOXILfsbXBwd9 |
| NNTP-Posting-Date | Tue, 10 Jan 2012 15:17:15 +0000 (UTC) |
| Injection-Info | news.albasani.net; logging-data="zflPIwNWliHoOAf/3zgr+5pvD/ZQQDC0HL9OaYd0X5+UON5CXdzTArVdGyPR6W197z3zihFPW4tQgBjAqsZL6TQzxJ61+F9f2Ry/srQAR/jtQloXO7kD/zcVWqw5ypsW"; mail-complaints-to="abuse@albasani.net" |
| User-Agent | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Thunderbird/3.1.16 |
| In-Reply-To | <be6dd390-0441-4336-a3f8-fe70964b9210@n39g2000yqh.googlegroups.com> |
| Cancel-Lock | sha1:HQE2tymSzyVXZtN1Y3V/INBv920= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11176 |
Show key headers only | View raw
raphfrk@gmail.com wrote: > Patricia Shanahan wrote: >> Spin waiting, especially spin waiting that has no delay and includes >> access to a volatile variable, can be very expensive in terms of load on >> the processor-memory interconnect. > > So, add a Thread.sleep(1); or something ? No, don't poll. You put lipstick on a pig, it's still a pig. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Atomic integer array class question "raphfrk@gmail.com" <raphfrk@gmail.com> - 2012-01-09 07:10 -0800
Re: Atomic integer array class question Knute Johnson <nospam@knutejohnson.com> - 2012-01-09 07:45 -0800
Re: Atomic integer array class question "raphfrk@gmail.com" <raphfrk@gmail.com> - 2012-01-09 08:17 -0800
Re: Atomic integer array class question Patricia Shanahan <pats@acm.org> - 2012-01-09 10:56 -0800
Re: Atomic integer array class question "raphfrk@gmail.com" <raphfrk@gmail.com> - 2012-01-10 06:22 -0800
Re: Atomic integer array class question Roedy Green <see_website@mindprod.com.invalid> - 2012-01-10 06:52 -0800
Re: Atomic integer array class question Lew <noone@lewscanon.com> - 2012-01-10 07:17 -0800
Re: Atomic integer array class question Patricia Shanahan <pats@acm.org> - 2012-01-10 07:43 -0800
Re: Atomic integer array class question markspace <-@.> - 2012-01-10 08:37 -0800
csiph-web