Szerző: Giuseppe D'Angelo Dátum: Címzett: Zoltán Herczeg CC: pcre-dev Tárgy: Re: [pcre-dev] PCRE2 and thread safety of jit compilation?
On Tue, Jan 5, 2016 at 8:22 AM, Zoltán Herczeg <hzmester@???> wrote: > I understand the basic principles, but I cannot judge the side effects and limitations (CPU/OS/compiler) of those changes. It would be better to discuss proposed patches and land the best solution.
The biggest problem is having this working (and claim as supported)
amongst the huge number of compilers and platforms that PCRE2 runs on.
That's not an easy task.
I guess it's better to ask users to use read/write locking around
matching and jit compiling. Or we could think of adding back APIs like
pcre_study -- having the jit data returned as a separate piece of
information...