
22 Aug
2009
22 Aug
'09
7:07 p.m.
I'm afraid to admit that I f***ed up. The program is now working. I invalidated the iterators with a for loop before the for_each call. When I remove my for loop, the results are inside the output files.
Cool stuff, Christian
Great! I've added my version to the sandbox at http://svn.boost.org/svn/boost/sandbox/libs/mapreduce/examples/prime/ This includes a modified number_source that provides a range for each map task to work on, reducing locking contention. Regards -- Craig