majensen / libneo4j-omni

Up-to-date C library and CLI for Neo4j based on libneo4j-client
Apache License 2.0
4 stars 2 forks source link

Question/Potential Documentation: Connection thread safety #4

Open ifadams opened 11 months ago

ifadams commented 11 months ago

Apologies for using the issues feature for this, but had a hopefully relatively straightforward question:

Can a connection be reused across multiple threads in parallel or must each thread maintain use (or maintain) its own connection?

As an example, could multiple pthreads create transactions using a common connection safely create and commit their own transactions?