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

Parking Lot based Shared Lock

Open ankoh opened this issue 4 years ago • 0 comments

Our shared lock is based on parking lots and has a rarely occurring bug where all threads keep spinning. Replaced with std::shared_mutex for now here.

Need stress tests for the parking lot. This is only relevant for the experimental pthread bundle and does not effect single-threaded builds.

ankoh avatar Oct 26 '21 10:10 ankoh