[Webkit-unassigned] [Bug 194612] EnvironmentUtilities::stripValuesEndingWithString isn't thread-safe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 14 11:19:49 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=194612

--- Comment #2 from Ross Kirsling <ross.kirsling at sony.com> ---
(In reply to Alexey Proskuryakov from comment #1)
> > nor can it be, since WTF::initializeThreading() is called before the test even begins
> 
> Can you clarify why this means that the test will have trouble with
> threading?

Admittedly, even though it can't be called "thread-safe", the test would be unlikely to ever encounter a problem, since the env vars it's setting are not realistic.

The issue is just that it would be nice to use the new WTF::Environment::set (from bug 192405), but this currently ASSERTs since "has threading been initialized yet?" is really our only way of ensuring thread safety of setenv (coarse-grained as that approach may be).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190214/4ff668a7/attachment.html>


More information about the webkit-unassigned mailing list