Use Q_GLOBAL_STATIC where K_GLOBAL_STATIC is not needed?

Rolf Eike Beer kde at
Tue Feb 15 06:53:15 GMT 2011

Am Donnerstag 10 Februar 2011, 23:41:13 schrieb Thiago Macieira:
> On Thursday, 10 de February de 2011 17:11:42 Michael Pyne wrote:
> > I say this as someone who uses QAtomicInt assuming a mode of operation
> > that is  not explicitly documented (i.e. it is safe to initialize its
> > memory with 0 and avoid running the ctor). If Nokia changes it I would
> > grumble, but it would by my problem, not theirs.
> That works in all platforms except HP PA-RISC. In that platform, you have
> to initialise the 4 other words to -1.

Since I have some of these machines: is there any detail on this available 
somewhere? Does this count for HP-UX only or also for Linux?


More information about the kde-core-devel mailing list