[PATCH][gdbsupport] Add sequential_for_each

Tom Tromey tom@tromey.com
Fri Jul 15 16:38:50 GMT 2022


Tom> Add a sequential_for_each alongside the parallel_for_each, which can be used
Tom> as a drop-in replacement.

Tom> This can be useful when debugging multi-threading behaviour, and you want to
Tom> limit multi-threading in a fine-grained way.

It's not fine-grained but I typically just set the number of worker
threads to 0.

Tom


More information about the Gdb-patches mailing list