On 7/6/05, Siegfried Heintze <[EMAIL PROTECTED]> wrote: > Can I assume that an auto-increment operation on an integer value is atomic > (that is, cannot be interrupted by another thread)? This is a common > assumption in C/C++. The perl debugger I use leads me to believe that perl > stores all integers as strings however, in spite of my efforts to force them > to integer by adding zero. > > This would mean that an auto-increment is probably not atomic. > > What about a string copy: is that atomic?
these should get you started: <http://www.perlmonks.org/index.pl?node_id=288022> <http://search.cpan.org/~nwclark/perl-5.8.7/ext/threads/shared/shared.pm> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>