boost or openMP for multithreading?
i have to parallize som开发者_JS百科e code and a fried of mine suggested using boost for it. Right now i have a look into openMP and i am wondering what you think is better for that task.
it is up to you
I personally went with boost threads, because it found OpenMP to be very lacking once I needed more advanced features
for simple loops, OpenMP is fine, for more complex things, actual threads may be needed.
精彩评论