numSuccessfulCAS

Instrumented compare-and-swap to record usage statistics for debugging or performance measurements.

This is used when version(mergearray_do_cas_statistics) is set.

  1. size_t numSuccessfulCAS;
    version(mergearray_do_cas_statistics)
    size_t numSuccessfulCAS;
  2. size_t numFailedCAS;
  3. bool my_cas(L* loc, E expected, V value)

Meta