-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the generator thread safe #214
Labels
enhancement
Feature requests
Comments
Interesting project. I'll give it a try. |
regisd
added a commit
to regisd/jflex
that referenced
this issue
Oct 10, 2018
This is a minor refactoring to support refacotring jflex-de#214 In the future, LexGenerator.generate() will not be static and have internal state in order to support multithreading.
regisd
added a commit
that referenced
this issue
Oct 10, 2018
* Split Main in Main and LexGenerator. This is a minor refactoring to support refacotring #214 In the future, LexGenerator.generate() will not be static and have internal state in order to support multithreading. * Update javadoc *Also Make Main non instanciable.
regisd
pushed a commit
that referenced
this issue
Oct 10, 2018
Initial commit c3ae263 Author: Régis Décamps <[email protected]> Date: Thu Oct 11 00:42:45 2018 +0200 Split LexGenerator out of Main (#428) * Split Main in Main and LexGenerator. This is a minor refactoring to support refacotring #214 In the future, LexGenerator.generate() will not be static and have internal state in order to support multithreading. * Update javadoc *Also Make Main non instanciable.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As discussed in issue #211 and PR #213, the JFlex generator is currently not thread safe. It'd be nice for larger projects if multiple concurrent build invocations could be supported.
Main thing to change would be the static setup of the
Options
class, I think.The text was updated successfully, but these errors were encountered: