https://bugs.exim.org/show_bug.cgi?id=2334

--- Comment #19 from Rich Siegel <[email protected]> ---
Thanks for submitting the patch! Unfortunately, it is not thread-safe. This is
immediately relevant to my interests. :-)

My previous patch using dispatch_once() ensures that the static initialization
is thread-safe.

Also, __APPLE__ is not a sufficient test for this case. It really does need to
be TARGET_OS_MAC, because the change is not applicable on iOS, tvOS, or watchOS
(all of which would define __APPLE__).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to