Merge implementation that adds to the base store after acquiring a write lock.
(other ReadOnlyFactStore)
| 994 | |
| 995 | // Merge implementation that adds to the base store after acquiring a write lock. |
| 996 | func (s ConcurrentFactStore) Merge(other ReadOnlyFactStore) { |
| 997 | s.mutex.Lock() |
| 998 | defer s.mutex.Unlock() |
| 999 | s.base.Merge(other) |
| 1000 | } |
| 1001 | |
| 1002 | // ListPredicates returns a list of predicates in the base store after acquiring a read lock. |
| 1003 | func (s ConcurrentFactStore) ListPredicates() []ast.PredicateSym { |