That can't happen with shared mutable objects. On Jul 23, 2012 3:46 PM, "Russel Winder" <[email protected]> wrote:
> On Mon, 2012-07-23 at 08:25 -0700, Cédric Beust ♔ wrote: > […] > > To be fair, there is nothing running on the JVM today showing that this > is > > wrong. All the alternate solutions fail on one of these criteria while > > java.concurrent.util meets them all: > > A quick general response, I'll try and do a more detailed one tomorrow. > > Do Java programmers manage the stack. No. > > Do Java programmers manage the heap. No. > > So why do Java programmers try to manage threads? > > Threads are infrastructure and should be managed by the runtime system > just as heap and stack are. > > -- > Russel. > > ============================================================================= > Dr Russel Winder t: +44 20 7585 2200 voip: > sip:[email protected] > 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] > London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder > -- You received this message because you are subscribed to the Google Groups "Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
