
Is there a threaded version of some of the boost components? For example, calling find on a container should be easily threaded. I realize the user could also easily thread this, but it seems like a trivial thing to just add support for in boost itself.

On Tue, Jun 10, 2008 at 10:35, albert meyburgh <ameyburgh@gmail.com> wrote:
Is there a threaded version of some of the boost components?
For example, calling find on a container should be easily threaded. I realize the user could also easily thread this, but it seems like a trivial thing to just add support for in boost itself.
The usual problem with that is that it's too low a granularity in most cases, so the threading overhead would make always trying to parallelize a net loss. Though something like http://www.threadingbuildingblocks.org/ might mitigate that. There are parallel STL implementations out there. A quick Google search finds http://www.cs.unm.edu/~fastos/06meeting/FASTOS-STAPL_2006.pdf and (the rather old) http://www.extreme.indiana.edu/hpc++/docs/overview/class-lib/PSTL/

----- Original Message ----- From: "albert meyburgh" <ameyburgh@gmail.com> To: <boost@lists.boost.org> Sent: Tuesday, June 10, 2008 4:35 PM Subject: [boost] Threaded version
Is there a threaded version of some of the boost components?
For example, calling find on a container should be easily threaded. I realize the user could also easily thread this, but it seems like a trivial thing to just add support for in boost itself.
Hello, what do you mean by a threaded version? Is it a thread-safe version, is it a parallel version? Could you shou how easy it is with an example. This will help to understand what do you want. Best _____________________ Vicente Juan Botet Escriba
participants (3)
-
albert meyburgh
-
Scott McMurray
-
vicente.botet