[cairo-bugs] [Bug 73012] Improve thread safety of Cairo Font on Windows

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 25 15:19:26 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=73012

--- Comment #2 from Alexandre <alexandre.nunes at gmail.com> ---
How about making the static variable a TLS (Thread Local Storage) one?

-    static HDC hdc;
+    static __thread HDC hdc;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140725/864f4f89/attachment.html>


More information about the cairo-bugs mailing list