aic-sri-international / aic-expresso

SRI International's AIC Symbolic Manipulation and Evaluation Library (for Java 1.8+)
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

Switch away from using global object GrinderUtil.DO_NOT_REQUIRE_ADDED_CONTEXTUAL_CONSTRAINT_FREE_VARIABLES_TO_BE_IN_CONTEXTUAL_VARIABLES #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Change introduced in r724

GrinderUtil.DO_NOT_REQUIRE_ADDED_CONTEXTUAL_CONSTRAINT_FREE_VARIABLES_TO_BE_IN_C
ONTEXTUAL_VARIABLES

usage in process's global variables may not be thread safe.
This is currently only used in 1 place in the code and instead of
using the global process in might be better to update the
GrinderUtil API to have support for this case too. 

Original issue reported on code.google.com by ctjoreilly@gmail.com on 21 Jan 2014 at 12:28