[Pcre-svn] [328] code/trunk/doc/pcre2jit.3: Improve document…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [328] code/trunk/doc/pcre2jit.3: Improve documentation.
Revision: 328
          http://www.exim.org/viewvc/pcre2?view=rev&revision=328
Author:   ph10
Date:     2015-07-28 17:01:43 +0100 (Tue, 28 Jul 2015)
Log Message:
-----------
Improve documentation.


Modified Paths:
--------------
    code/trunk/doc/pcre2jit.3


Modified: code/trunk/doc/pcre2jit.3
===================================================================
--- code/trunk/doc/pcre2jit.3    2015-07-24 18:18:05 UTC (rev 327)
+++ code/trunk/doc/pcre2jit.3    2015-07-28 16:01:43 UTC (rev 328)
@@ -1,4 +1,4 @@
-.TH PCRE2JIT 3 "27 November 2014" "PCRE2 10.00"
+.TH PCRE2JIT 3 "28 July 2014" "PCRE2 10.21"
 .SH NAME
 PCRE2 - Perl-compatible regular expressions (revised API)
 .SH "PCRE2 JUST-IN-TIME COMPILER SUPPORT"
@@ -207,8 +207,13 @@
 whether a match operation was executed by JIT or by the interpreter.
 .P
 You may safely use the same JIT stack for more than one pattern (either by
-assigning directly or by callback), as long as the patterns are all matched
-sequentially in the same thread. In a multithread application, if you do not
+assigning directly or by callback), as long as the patterns are matched
+sequentially in the same thread. Currently, the only way to set up
+non-sequential matches in one thread is to use callouts: if a callout function
+starts another match, that match must use a different JIT stack to the one used
+for currently suspended match(es).
+.P
+In a multithread application, if you do not
 specify a JIT stack, or if you assign or pass back NULL from a callback, that
 is thread-safe, because each thread has its own machine stack. However, if you
 assign or pass back a non-NULL JIT stack, this must be a different stack for
@@ -399,6 +404,6 @@
 .rs
 .sp
 .nf
-Last updated: 27 November 2014
-Copyright (c) 1997-2014 University of Cambridge.
+Last updated: 28 July 2015
+Copyright (c) 1997-2015 University of Cambridge.
 .fi