0

within the python interface of Z3 variables can be created via methods: Int, Real, ....

Does anybody know whether these methods can be called concurrently in python? That means, are those methods threadsafe?

I would like to create variables concurrently.

Thanks,

sfrehse
  • 1,062
  • 9
  • 22

1 Answers1

1

I don't think so based on the documentation here.

It is not safe to access Z3 objects from multiple threads. The only exception is the method interrupt() that can be used to interrupt() a long computation.

Pramod
  • 9,256
  • 4
  • 26
  • 27