Hannu Krosing wrote:> Sabing 1 byte is an atomic op
Unfortunately, it's not. Most if not all modern CPUs will perform one byte modification as "load word" + "modify word" + "save word".
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com