You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is entirely expected, EReg.match modifies internal state and is therefore not thread safe.
You should either create a new regex on each thread or use a mutex.
I don't think there's anything that can be done in the standard library or in hxcpp.
Can't make an hxcpp conditional macro that locks everything that isn't thread safe, so that if it can't lock it, can throw an exception and create a safer development environment?
For example, in languages like Java, ConcurrentModificationException is returned in such cases.
hxcpp/project/thirdparty/pcre2-10.42/src/pcre2_match.c
Line 7289 in 9687509
Rarely segmentation fault occurs on the line below, but usually match returns incorrectly.
The text was updated successfully, but these errors were encountered: