d-r-q / qbit

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

Make MapStorage thread-safe for JVM #107

Closed d-r-q closed 4 years ago

d-r-q commented 4 years ago

Currently MapStorage implemented via simple map, and while writes to the map are performed from the same thread and it should work for js and native, for jvm reading threads may not see writes due to java memory model

d-r-q commented 4 years ago

Was implemented using PersistentMap