LWG Issue 2143: ios_base::xalloc should be thread-safe

Marshall Clow mclow.lists at gmail.com
Sun Oct 6 12:52:03 PDT 2013


The only thing it does is increment a static member variable and return the previous value.
Change the static member variable to be atomic.

-- Marshall

Marshall Clow     Idio Software   <mailto:mclow.lists at gmail.com>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ish2143.patch
Type: application/octet-stream
Size: 1078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131006/7a7a98bd/attachment.obj>

More information about the cfe-commits mailing list