diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-13 12:35:39 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-13 12:35:39 +0100 |
commit | 0816f447b768ebe0632f419e9b696714dda4e860 (patch) | |
tree | 2001dd1ba033d8cd535c8c72a078f71b5fee757b /python/python_mod_test.py | |
parent | 309a533b7c5eab79addfc2b1733d39c1b48d9aae (diff) | |
download | nextpnr-0816f447b768ebe0632f419e9b696714dda4e860.tar.gz nextpnr-0816f447b768ebe0632f419e9b696714dda4e860.tar.bz2 nextpnr-0816f447b768ebe0632f419e9b696714dda4e860.zip |
Make ice40::Arch thread-safe
We move all non-chip data to be private and guard them with an R/W
mutex.
We then modify all calls that access these fields to lock/shared_lock
the mutex as required.
Profiling the code before and after is an exercise left to the reader
:).
Diffstat (limited to 'python/python_mod_test.py')
0 files changed, 0 insertions, 0 deletions