Hi :)

Mihail Naydenov wrote:
> (It may be lame to think these ARE atomic, but Qt users are not required
> to know anything about atomics and how they are implemented)

I disagree with this, for the simple fact that the use-cases for the atomic 
API are *very* specific and the persons using this API *need* to know what 
they do, how they work, and how they *don't* work.

> So in the end I don't have my simple questions answered:
> 
> Can I use QAtomicInt as "an Int with basic operations being atomic":
>  like getting, setting its value. Returning it from a function.
> If not, when and how can I use it.

Normal int is already atomic on most platforms for the basic operations, so 
the extras that QAtomicInt add are probably not interesting to you.

-- 
Bradley T. Hughes (Nokia-D-Qt/Oslo), bradley.hughes at nokia.com
Sandakervn. 116, P.O. Box 4332 Nydalen, 0402 Oslo, Norway
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to