offa / influxdb-cxx

InfluxDB C++ client library.
MIT License
116 stars 43 forks source link

Thread safety #251

Closed asaff1 closed 3 months ago

asaff1 commented 3 months ago

Haven't seen any documentation about this. Can I use the influx db client in multiple threads? I took a quick look seems like a client uses cpr session, which according to their docs, is not thread-safe.

offa commented 3 months ago

No, there's no no thread safety guarantee.

Haven't seen any documentation about this.

Good point, I'm going to add it.

offa commented 3 months ago

I have added a note to the readme. Let me know if there's something missing.