Hi,

On Mon, Jan 4, 2016 at 1:59 PM, Zoltán Herczeg <[email protected]> wrote:
> you can do this now as well. Just replace pcre_study to pcre2_jit_compile. 
> There is no need to check JIT availability, the call will return with an 
> error in that case (and you can silently ignore it). If other threads use the 
> same pattern, they use the interpreted match until the compilation is done 
> ("done" means an atomic write operation).

Do you mean that PCRE internally will read/save the JIT-compiled data
inside the pcre2_code using atomic operations?

(Threads matching checking for availability of such data using
load/acquire, thread doing the jit compilation saving it using
store/release?)

Cheers,
-- 
Giuseppe D'Angelo

-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to