diff options
Diffstat (limited to 'doc/html/pcre2api.html')
-rw-r--r-- | doc/html/pcre2api.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/pcre2api.html b/doc/html/pcre2api.html index e456647..4ca0eb0 100644 --- a/doc/html/pcre2api.html +++ b/doc/html/pcre2api.html @@ -662,11 +662,11 @@ is valid" flag (that can be updated atomically) must be used: if (!pointer_is_valid) { Get a write (unique) lock for pointer - if (!pointer_is_valid) + if (!pointer_is_valid) { pointer = pcre2_compile(... pointer_is_valid = TRUE - } + } } Release the lock Use pointer in pcre2_match() |