>>   It does, but it's defined later than invoked from unsigned in
>> overload,
>> and compiler invokes the template<long> __rw_atomic_preincrement(...)
>> which uses critical section.
>>
>>Ouch. Good catch! Does this solve the timeout problem in the atomic
>>tests on Windows?
  A bit yes, but there left
__rw_atomic_pre{in,de}crement<{s/u}char, {s/u}short, {s/u}long long>()
which are using critical sections...

Farid.

Reply via email to