[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libqtlua-list] QtLua newbie.

From: Alexandre Becoulet
Subject: Re: [Libqtlua-list] QtLua newbie.
Date: Tue, 05 Feb 2013 12:55:43 +0100
User-agent: KMail/4.9 (Linux/3.5.3-1-ARCH; KDE/4.9.0; x86_64; ; )

On Saturday, February 02, 2013 02:11:32 AM Joonhwan Lee wrote:


> Thanks for your explanation. appreciated.
> Could I get a little bit more Info about why QAtomicInt is not appropriate

Some operations are missing in QAtomicInt, like atomic bitwise operations.

> and How could thread-safety be possible to be achieved  by GNU compiler ?

The Ref class is thread safe when you use the GNU compiler or any other 
compiler which support the GNU extensions (clang, ...).

If you want it to be thread safe with an other compiler, you must add support 
for it by replacing the calls to the atomic builtins [1] with some equivalent 
functions provided by your compiler.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]