[Development] atomic reference counting implementation

Thiago Macieira thiago.macieira at intel.com
Thu Aug 8 05:51:39 CEST 2019


On Wednesday, 7 August 2019 09:36:38 PDT Philippe wrote:
> I recently found that in Qt,  reference counting to guard a resource, is
> using ref() / deref()
> 
> But ref() is using memory_order_seq_cst

I believe memory_order_acq_req would suffice and still be within our 
documentation.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Development mailing list