Annotation of embedaddon/php/ext/mbstring/oniguruma/doc/FAQ, revision 1.1.1.1

1.1       misho       1: FAQ    2006/10/30
                      2: 
                      3: 1. Lognest match
                      4: 
                      5:    You can execute longest match by using ONIG_OPTION_FIND_LONGEST option
                      6:    in onig_new().
                      7: 
                      8: 
                      9: 2. Thread safe
                     10: 
                     11:    In order to make thread safe, which of (A) or (B) must be done.
                     12: 
                     13:    (A) Oniguruma Layer
                     14: 
                     15:        Define the macro below at NOT_RUBY case in oniguruma/regint.h.
                     16: 
                     17:        USE_MULTI_THREAD_SYSTEM
                     18:        THREAD_ATOMIC_START
                     19:        THREAD_ATOMIC_END
                     20:        THREAD_PASS
                     21: 
                     22:        THREAD_SYSTEM_INIT
                     23:        THREAD_SYSTEM_END
                     24: 
                     25: 
                     26:    (B) Application Layer
                     27: 
                     28:        The plural threads should not do simultaneously that making 
                     29:        new regexp objects or re-compiling objects or freeing objects,
                     30:        even if these objects are differ.
                     31: 
                     32: 
                     33: 3. Mailing list
                     34: 
                     35:    There is no mailing list about Oniguruma.
                     36: 
                     37: // END

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>