10 Oct
2016
10 Oct
'16
5:31 p.m.
On 10.10.2016 17:28, François wrote:
Hello,
I suspect the copy_property function not to be thread safe. Remember that the issue I observe occurs when I re-use the predecessor map returned by shortest_distance. The copy_property is then called from topology/__init__.py:1441 and the parameter full is None.
I didn't realize all the workers shared a reference to the same graph. Indeed this can be improved. To be honest, thread safety from the python side is something that I often do not pay attention to, since it is almost never worth it. But please open an issue in the website to make copy_property() thread safe, and I will get around to it. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>