> -----Original Message-----
 
> We check for that case shortly after:
> 
> 361     if (d != d_ptr.loadAcquire()) {
> 362        //Either the mutex is already unlocked, or relocked with
> another mutex
> 363        d->deref();
> 364        continue;
> 365     }
> 

Or course.  Very next lines!  "shortly after" is a being nice to me.  Sorry.

I wonder if the Acquire couldn't be Relaxed...



---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to