Hello thanks for the blazing fast answer! From what I understand, if I provide a graphView per thread the problem should not occur, is that correct?
Regards, F. Le 10 oct. 2016 19:32, "Tiago de Paula Peixoto" <[email protected]> a écrit : > 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 <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=4026753&i=0>> > > > _______________________________________________ > graph-tool mailing list > [hidden email] <http:///user/SendEmail.jtp?type=node&node=4026753&i=1> > https://lists.skewed.de/mailman/listinfo/graph-tool > > *signature.asc* (817 bytes) Download Attachment > <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/attachment/4026753/0/signature.asc> > -- > Tiago de Paula Peixoto <[email protected]> > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://main-discussion-list-for-the-graph-tool-project. > 982480.n3.nabble.com/shortest-distance-concurrency-graph- > view-tp4026743p4026753.html > To start a new topic under Main discussion list for the graph-tool > project, email [email protected] > To unsubscribe from Main discussion list for the graph-tool project, click > here > <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2141189&code=ZnJhbmNvaXMua2F3YWxhQGdtYWlsLmNvbXwyMTQxMTg5fDIxMTQ0MDk4Nzk=> > . > NAML > <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >
_______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
