bilibili / gengine

Other
1.95k stars 272 forks source link

规则引擎并发安全问题咨询 #65

Open johnyanchen opened 1 year ago

johnyanchen commented 1 year ago

简介说,“gengine pool提供的所有相关的api也是线程安全且高性能的”,那么gengine提供的api不是线程安全的了是么?

johnyanchen commented 1 year ago

ruleBuilder已经构建好了ast,engine执行的时候,只是带入参数,应该是并发安全的呀?实际我测试也是并发安全的,究竟是哪里不安全呢?