mciepluc / cocotb-coverage

Functional Coverage and Constrained Randomization Extensions for Cocotb
BSD 2-Clause "Simplified" License
104 stars 16 forks source link

Thread-safe Singleton #25

Closed Losiek closed 5 years ago

Losiek commented 5 years ago

Is coverage database implemented as thread-safe singleton? This may be important when dealing with parallel simulations.

mciepluc commented 5 years ago

Not sure if it was an issue at all, but recommendation is to implement thread-safety if you are in doubt, so it has been added.