Tuesday, April 5, 2011

BGL concurrent read accesses problem

I need to iterate over the vertices and edges of a BGL adjacency_list from several threads. Which would be an efficient way to do that, provided that the graph is large (mutex..)?

The BGL methods don't support reentrant calls?

From stackoverflow
  • BGL is currently not thread safe. Take a look at MTGL which provides a BGL like interface but is designed for massively multithreaded platforms.

    rambo : Thanks, will check that out.

0 comments:

Post a Comment