[Development] HEADS-UP: QStringLiteral

Thiago Macieira thiago.macieira at intel.com
Wed Aug 21 16:44:51 CEST 2019


On Wednesday, 21 August 2019 00:50:01 PDT Jean-Michaƫl Celerier wrote:
> > Try *any* other compiler and you'll see there's no mutex.
> 
> Don't __cxa_guard_acquire / release use at least futexes ? I'd wager that
> in a non-zero amount of applications, having *any* kind of  syscalls or
> locks sprinkled here and there
> depending on whether you use "static" or not is not kosher (I'd also wager
> that these applications wouldn't be using Qt anyways... except maybe the
> ones using that safe renderer thing ?).

They do, but my point is that there is no guard acquire or release. The static 
in the QStringLiteral lambda is constexpr.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products






More information about the Development mailing list