For some use cases like mine (where there's a bunch of core pinning for different threads going on), it's desirable to not spawn any threads and just run everything on the calling thread. This is done, for example, in https://github.com/ben-strasser/fast-cpp-csv-parser by defining CSV_IO_NO_THREAD. It would be great if csv-parser had this functionality too, and ideally not as a preprocessor flag but as a per-parser-object setting.
For some use cases like mine (where there's a bunch of core pinning for different threads going on), it's desirable to not spawn any threads and just run everything on the calling thread. This is done, for example, in https://github.com/ben-strasser/fast-cpp-csv-parser by defining
CSV_IO_NO_THREAD. It would be great if csv-parser had this functionality too, and ideally not as a preprocessor flag but as a per-parser-object setting.