"Chris Thomasson"
news:UPqdndrv99cKpp_VnZ2dnUVZ_sWdnZ2d@comcast.com...
[...]
> I know some things about distributed programming... Why would you want
> anything that calls new to atomically increment a global singular pointer?
> What if then threads
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
'then' == 'ten'
ARGH. I am late for an very informal ad-hoc meeting. Need to get my a$s out
of the door if I want to make it to the restaurant on time!
:^o
> which are running on ten separate CPUS to all contend for a single
> location in memory?
> That is not good at all. I have designed distributed locking schemes, and
> can tell you that contention on a per-thread/cpu mutex is MUCH better than
> contention on a single mutex. This is directly analogous to multiple CPUS
> firing atomic updates at a SINGLE location. Again, post over on c.p.t so
> we can give you much more detailed information.
[...]