develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [PATCH] Adding callbacks to the core

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
August 22, 2001 07:56
Subject:
Re: [PATCH] Adding callbacks to the core
Message ID:
20010822155640.Q82818@plum.flirble.org
On Wed, Aug 22, 2001 at 09:51:21AM -0500, David M. Lloyd wrote:
> I am anything but an expert on this sort of thing, but I figured I could
> depend on ordering here because even if the CPU does odd things like
> threading, the CPU still has to depend on the logical order of the
> operations I'm performing; for instance no matter how the CPU threads, it
> wouldn't make logical sense to do a comparison with a variable before or
> during an assignment that precedes the comparision.

You keep saying "the CPU". Why are you assuming that my machine has only
one CPU?

[I don't understand threading, but I've read enough from Dan and Alan to
learn that multi-CPU boxes will quite happily run different threads of
the same process on the different CPUs at the same time, and this often
does horrible things to code that was written without thinking about this]

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About