I have a program.And i want parallel it with TBB.But i donot know the TBB can work or not.If TBB can parallel the program and eliminate the race by itself ? Or the TBB must work with other tools like OpenMP .
The choice of threading model depends greatly on the nature of your program. Usually you do not mix threading models, at least until you fully understand the nuances of each and the implications of the mix. Can you describe your program.