How can I specify one-thread, multitple-chunks for debugging?

How can I specify one-thread, multitple-chunks for debugging?


I've got some crashes that I think are simply due to changes refactoring my code into multiple chunks. How can I run a TBB application where multiple chunks are created but only a single thread is used? This would allow me to reproduce problems in a debugger without having to also debug race conditions.

1 post / 0 new