Page MenuHomePhabricator

[RCU] Use strong CAS where apropriate
ClosedPublic

Authored by deadalnix on Jan 16 2019, 23:15.

Details

Summary

Failing the CAS in RCUInfos's destructor require to free and retake a lock, and go over a linked list. We should avoid doing so at it is more expensive that any penality a strong CAS have over a weak one.

The CAS in RCUInfos benefit from being weak as the loop is required anyways and is made of a single store.

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable