duckdb-rs icon indicating copy to clipboard operation
duckdb-rs copied to clipboard

Document C API thread safety

Open barsdeveloper opened this issue 1 year ago • 0 comments

The documentation does not explicitly state what functions are thread safe and which one is not. For example duckdb_get_or_create_from_cache I've seen from the source code it does lock a mutex in the critical section therefore only a thread at a time can create a database. It would be much better to have those info in the documentation

barsdeveloper avatar Mar 03 '25 20:03 barsdeveloper