Skip to content

Single-thread Mode #276

@michaeleisel

Description

@michaeleisel

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions