[pcre-dev] [Bug 2377] allocator_grab_lock not thread safe on…

Top Page

Reply to this message
Author: admin
Date:  
To: pcre-dev
Old-Topics: [pcre-dev] [Bug 2377] New: allocator_grab_lock not thread safe on windows
Subject: [pcre-dev] [Bug 2377] allocator_grab_lock not thread safe on windows
https://bugs.exim.org/show_bug.cgi?id=2377

Carlo Marcelo Arenas Belón <carenas@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED


--- Comment #3 from Carlo Marcelo Arenas Belón <carenas@???> ---
a tentative fix available upstream[1] using the interlocked API

note that it only fixes the executable allocation lock, since the global lock
is not really used and probably should be retired instead.

not sure if it will apply cleanly to the version you can test it on, so let me
know of any specific targets and if help is needed backporting it; be aware
also it is at best alpha quality and likely to change further (hopefully
because of your feedback)

[1] https://github.com/zherczeg/sljit/pull/76

--
You are receiving this mail because:
You are on the CC list for the bug.