database - SQlite Single-thread Mode and Transactional Locks -
i bit confused between 2 concepts, namely, threading modes of sqlite , database locks. there relation between threading mode , database locks? documentation states "single-thread. in mode, mutexes disabled , sqlite unsafe use in more single thread @ once.". mean no locks applied in case of single-thread mode? means "unsafe use". or these entirely different concepts @ different layers of abstractions , mixing them up!!
the threading mode applies accesses multiple threads in program might make single connection object.
transactions handle concurrent accesses made through multiple connections database file, , not affected threading mode.
Comments
Post a Comment