ben-strasser / fast-cpp-csv-parser

fast-cpp-csv-parser
BSD 3-Clause "New" or "Revised" License
2.13k stars 441 forks source link

question #96

Closed jiapengwen closed 4 years ago

jiapengwen commented 4 years ago

i find doc suggesst With GCC it is important to add -lpthread as the last item when linking , but why? please help me

ben-strasser commented 4 years ago

The library supports asynchronous file reading. This is done with multiple threads. To make this work, you need pthread. There is a preprocessor define that deactivates this feature. By using this, you can avoid the need for pthread.