[Development] Maintainer changes to review: QMutex optimisations

lars.knoll at nokia.com lars.knoll at nokia.com
Sun Aug 26 17:44:11 CEST 2012


On Aug 26, 2012, at 3:47 PM, ext Thiago Macieira <thiago.macieira at intel.com> wrote:

> On domingo, 26 de agosto de 2012 15.44.05, Thiago Macieira wrote:
>> With a Double CAS, it might be possible to do that for the Windows and Mac 
>> semaphore solutions. PThread also allows for static initialisation, but it 
>> requires a destruction call if the mutex is used
> 
> And all of this is so we don't have to run a destructor... That's why I'm 
> saying that we're imposing constraints on the much-more-often used QMutex so 
> that the less-often QBasicMutex can exist.

Which is why I'm asking whether they shouldn't be separate classes sharing as much of the implementation as possible.

Cheers,
Lars




More information about the Development mailing list