FAQ 726 B

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