| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
19 Reentrant C Scanners
flex has the ability to generate a reentrant C scanner. This is
accomplished by specifying %option reentrant (‘-R’) The generated
scanner is both portable, and safe to use in one or more separate threads of
control. The most common use for reentrant scanners is from within
multi-threaded applications. Any thread may create and execute a reentrant
flex scanner without the need for synchronization with other threads.
| 19.1 Uses for Reentrant Scanners | ||
| 19.2 An Overview of the Reentrant API | ||
| 19.3 Reentrant Example | ||
| 19.4 The Reentrant API in Detail | ||
| 19.5 Functions and Macros Available in Reentrant C Scanners |
This document was generated on November 4, 2011 using texi2html 5.0.
