d-r-q / qbit

qbit is a kotlin-multiplatform embeddable decentralized DBMS with object-relational information model
44 stars 9 forks source link

Add test for accessing qbit from different threads on kotlin native #109

Open d-r-q opened 4 years ago

d-r-q commented 4 years ago

Kotlin/Native has complex memory model checked at runtime, so if code builds and passes single-threaded tests it doesn't mean, that it will work for native platforms. Add test, that will write and read qbit using different Workers.

Mutable shared state: