On 10/10/2013 03:45 AM, Walter Bright wrote:
> Rainer Schuetze wrote:
>
> You have to put the lock around the pair of AddRef and Release, but if
> the compiler already splits this into two function calls, this cannot
> be done in the implementation.
I would imagine the counter to be manipulated with atomic_add_and_fetch
operations, so no locks are required.

Reply via email to