Re: Immutable object thread-safety

2008-10-26 Thread Alcari The Mad
Laszlo Nagy wrote: > >> Also, the other question is the operation st = 'ThreadBWasHere' is >> atomic? > I think this is the same question. And I believe it is not atomic, > because it is actually rebinding a name. Consider this: > > a,b = b,a > > This will rebind both a and b. In order to be co

Re: Immutable object thread-safety

2008-10-26 Thread Alcari The Mad
k3xji wrote: > Hi all, > > This will probably be a long question/short answer, sorry, but I have > wandered net about the subject and really feel cannot find just enough > information.I want to ask my question by giving an example to > explicitly express my understanding which may be also wrong: >