Tuesday, October 7, 2003 12:02 PM
I have set of expressions (e.g. "State='CA' AND Source = 11") that will be parsed into ASTs. And a tree walker that will evaluate the expressions according to the input values (e.g. State, Source). It compiles and works fine with VC++ 7 on Win2k, in a single thread. Now I need to walk the ASTs from multiple threads with diffrent user inputs. Are these ASTs and the tree walker thread safe in this case?
Also what is the easies way to make a copy of the AST?
Thank you in advance.